Skip to main content
Back to top
Ctrl
+
K
User Guide
API Reference
GitHub
User Guide
API Reference
GitHub
Section Navigation
Sparse Matrices
Sparse Matrix Containers
bsparse.BCOO
bsparse.BCSR
bsparse.BDIA
bsparse.BDIA.asbformat
bsparse.BDIA.astype
bsparse.BDIA.bapply
bsparse.BDIA.conj
bsparse.BDIA.conjugate
bsparse.BDIA.copy
bsparse.BDIA.diagonal
bsparse.BDIA.from_array
bsparse.BDIA.from_sparray
bsparse.BDIA.save_npz
bsparse.BDIA.toarray
bsparse.BDIA.tocoo
bsparse.BDIA.tocsr
bsparse.BDIA.todia
Routines
API Reference
bsparse.BDIA
bsparse.BDIA...
bsparse.BDIA.diagonal
#
BDIA.
diagonal
(
offset
=
0
)
#
Returns the diagonal of the matrix.