get_shape — SciPy v1.15.2 Manual (original) (raw)

scipy.sparse.spmatrix.

spmatrix.get_shape()[source]#

Get the shape of the matrix