f
factorLU(a: number[][])
Partial row pivoting, with no rank decision and no mutation of the input.
f
prepareSquare()
a: number[][],
relativeTolerance?: number
Row equilibration makes the pivot policy invariant to row units/scales. A pivot <= relativeTolerance is numerically singular. This is a pivot test, not an SVD rank or condition-number estimate. Zero tolerance tests exact zeros.
Usage
import * as mod from "internal/lu.ts";