scipy.sparse.dia_matrix.nonzero

dia_matrix.nonzero()

nonzero indices

Returns a tuple of arrays (row,col) containing the indices of the non-zero elements of the matrix.

Previous topic

scipy.sparse.dia_matrix.multiply

Next topic

scipy.sparse.dia_matrix.reshape

This Page