Scipy.org
Docs
SciPy v0.15.1 Reference Guide
Sparse matrices (
scipy.sparse
)
scipy.sparse.lil_matrix
index
modules
next
previous
scipy.sparse.lil_matrix.diagonal
¶
lil_matrix.
diagonal
(
)
[source]
¶
Returns the main diagonal of the matrix
Previous topic
scipy.sparse.lil_matrix.copy
Next topic
scipy.sparse.lil_matrix.dot