Back to Core Functions
reshape
Reshape array
Syntax
B = reshape(A, m, n)
Description
Reshapes array A into an m-by-n matrix. The number of elements must not change.
Parameters
| Name | Description |
|---|---|
| A | Input array |
| m | Number of rows |
| n | Number of columns |
Returns
Reshaped NDArray