{ } Raw JSON

bundles / scipy 1.17.1 / scipy / sparse / _matrix / spmatrix / set_shape

function

scipy.sparse._matrix:spmatrix.set_shape

source: /scipy/sparse/_matrix.py :58

Signature

def   set_shape ( self shape )

Summary

Set the shape of the matrix in-place

Aliases

  • scipy.sparse.spmatrix.set_shape