Skip to content
Ubiquev1.0.4
functionmatmul
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.

Parameters

a: number[][]
b: number[][]
optional
backend: MatrixBackend = auto

Return Type

number[][]

Usage

import { matmul } from "ubique";