set_shape — SciPy v1.15.2 Manual (
original
) (
raw
)
scipy.sparse.spmatrix.
spmatrix.set_shape(
shape
)
[source]
#
Set the shape of the matrix in-place