c
LUFactorization()
a: number[][],
relativeTolerance?: number
Reusable, row-equilibrated LU factorization of a finite square matrix. The default numerical singularity threshold is n * Number.EPSILON on pivots after each row is scaled by its largest absolute entry. It is not a condition number estimate. Pass an explicit nonnegative relative tolerance to override. Inputs and factorization state are never exposed or mutated by solve().
f
factorize(): LUFactorization
a: number[][],
relativeTolerance?: number
Factor once and solve several right-hand sides without repeating elimination.
Usage
import * as mod from "linalgebra/factorize.ts";