class Matrix
implements Sliceable
import { Matrix } from "https://deno.land/x/vectorizer@v0.3.7/src/utils/misc/mod.ts";
Class for 2D Arrays. This is not akin to a mathematical Matrix (a collection of column vectors). This is a collection of row vectors.
Constructors
new
Matrix(data: DType<T> | DTypeConstructor<T>, shape: [number, number])Create a matrix from a typed array
Type Parameters
T extends DataType