Dense Matrix
Create, slice, and combine matrices. Element-wise math, products, norms, and in-place operators.
Linear algebra runtime
Build, transform, and factorize dense matrices in Node.js and the browser. Typed, dependency-light, and ready for SVD, EVD, LU, QR, Cholesky, and least squares.
A dense-matrix core with views, structured types, and production decompositions.
Create, slice, and combine matrices. Element-wise math, products, norms, and in-place operators.
Transpose, submatrix, row/column, and flip views wrap existing data instead of allocating copies.
SVD, EVD, LU, QR, Cholesky, and NIPALS, plus inverse, pseudo-inverse, and least-squares solvers.
SymmetricMatrix and DistanceMatrix keep packed storage while exposing the same Matrix API.
Mean, variance, covariance, correlation, centering, and scaling along rows or columns.
ESM, CommonJS, TypeScript types, and a minified UMD build for CDN and browser use.
Run real matrixflow-js code in the browser. The snippet must return a value.
Loading library…
Import what you need from matrixflow-js. Full signatures live in
matrix.d.ts
and the README.
Matrix, AbstractMatrix, SymmetricMatrix, DistanceMatrix, wrap
inverse, pseudoInverse, solve, determinant, linearDependencies
SVD, EVD, LU, QR, CHO, NIPALS
covariance, correlation, plus mean, variance, center, and scale on Matrix