Skip to content
Ubiquev1.0.4

Functions

f
matmul(
a: number[][],
b: number[][],
backend?: MatrixBackend
): number[][]

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.

Type Aliases

T
MatrixBackend = "auto" | "js" | "wasm"

Select a backend explicitly for reproducible measurements or automatically.