f
reshape(): matrix
x: array | matrix,
m: number,
n: number,
flag?: 0 | 1
Reshape an array or matrix into a new matrix of given dimensions.
Usage
import * as mod from "matarrs/reshape.ts";
Reshape an array or matrix into a new matrix of given dimensions.
import * as mod from "matarrs/reshape.ts";