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