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.BCOO.asbformat
bsparse.BCOO.astype
bsparse.BCOO.bapply
bsparse.BCOO.conj
bsparse.BCOO.conjugate
bsparse.BCOO.copy
bsparse.BCOO.diagonal
bsparse.BCOO.from_array
bsparse.BCOO.from_sparray
bsparse.BCOO.save_npz
bsparse.BCOO.toarray
bsparse.BCOO.tocoo
bsparse.BCOO.tocsr
bsparse.BCOO.todia
bsparse.BCSR
bsparse.BDIA
Routines
API Reference
bsparse.BCOO
bsparse.BCOO...
bsparse.BCOO.diagonal
#
BCOO.
diagonal
(
offset
=
0
)
#
Returns the block diagonal of the matrix.