The vector algebra the solid operators share: world vectors in millimetres
as fixed triples, and the 3 by 3 and 2 by 2 linear solves their Newton steps
take.
Inputs are read without mutation; vector results are fresh tuples. The
fixed 2 by 2 and 3 by 3 solves use Cramer's rule, and the general solve
uses partial-pivot Gaussian elimination. Their relative rejection tests
identify numerically small determinants or pivots, not exact rank or a
certified error bound. Callers supply finite, consistently scaled values
whose intermediate products remain representable, and decide what a null
solve means for the contact or chart they are constructing.
The vector algebra the solid operators share: world vectors in millimetres as fixed triples, and the 3 by 3 and 2 by 2 linear solves their Newton steps take.
Inputs are read without mutation; vector results are fresh tuples. The fixed 2 by 2 and 3 by 3 solves use Cramer's rule, and the general solve uses partial-pivot Gaussian elimination. Their relative rejection tests identify numerically small determinants or pivots, not exact rank or a certified error bound. Callers supply finite, consistently scaled values whose intermediate products remain representable, and decide what a null solve means for the contact or chart they are constructing.