This is documentation for an old release of SciPy (version 0.9.0). Read this page Search for this page in the documentation of the latest stable release (version 1.15.1).
scipy.sparse.bsr_matrix.nonzero
-
bsr_matrix.nonzero()
nonzero indices
Returns a tuple of arrays (row,col) containing the indices
of the non-zero elements of the matrix.