diagonal

Extracts the main diagonal of this sparse matrix.