Reshapes an array of values to a collection of vectors with given dimensions.
Single array with all values
Dimensions per vector
Array of vectors with given dimensions
reshape([1, 2, 3, 4, 5, 6], 3); // Returns [ [1, 2, 3], [4, 5, 6] ] Copy
reshape([1, 2, 3, 4, 5, 6], 3); // Returns [ [1, 2, 3], [4, 5, 6] ]
Generated using TypeDoc
Reshapes an array of values to a collection of vectors with given dimensions.