f
matmul(): number[][]
a: number[][],
b: number[][],
backend?: MatrixBackend
Multiply nonempty numeric matrices. The JS backend avoids packing for small
products; the WASM backend borrows packed inputs. Inputs are not modified.
backend is an override, not a promise of a universal performance crossover.
T
MatrixBackend = "auto" | "js" | "wasm"
Select a backend explicitly for reproducible measurements or automatically.
Usage
import * as mod from "linalgebra/matmul.ts";