Skip to content
Ubiquev1.0.4

Classes

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().

Functions

f
factorize(
a: number[][],
relativeTolerance?: number
): LUFactorization

Factor once and solve several right-hand sides without repeating elimination.