This is documentation for an old release of SciPy (version 1.5.3). Read this page in the documentation of the latest stable release (version 1.15.1).
scipy.sparse.bsr_matrix.tobsr¶
-
bsr_matrix.
tobsr
(self, blocksize=None, copy=False)[source]¶ Convert this matrix into Block Sparse Row Format.
With copy=False, the data/indices may be shared between this matrix and the resultant bsr_matrix.
If blocksize=(R, C) is provided, it will be used for determining block size of the bsr_matrix.