SciPy

scipy.sparse.dia_matrix.set_shape

dia_matrix.set_shape(shape)[source]

See reshape.

Previous topic

scipy.sparse.dia_matrix.rint

Next topic

scipy.sparse.dia_matrix.setdiag