matrix.resize()
numpy.matrix.resize
-
matrix.resize(new_shape, refcheck=True)
-
Change shape and size of array in-place.
Parameters: new_shape : tuple of ints, or
n
intsShape of resized array.
refcheck : bool, optional
If False, reference count will not be checked. Default is True.
Returns: None
Raises: ValueError
If
a
does not own its own data or refe