f
matrixShape(a: number[][]): [number, number]
Validate once at the numeric API boundary.
f
packRows(a: number[][]): Float64Array
Row-major packing without an intermediate Array.flat allocation.
Usage
import * as mod from "internal/matrix.ts";