NLA-lib Explorer

A scoped exact scalar row solve

Library · Source module

A scoped exact scalar row solve

The input matrix is copied to fresh workspace. Givens factorization, checked forward substitution and saved reverse rotations compute the row multiplied by its inverse. An actual zero pivot instead produces a singularity report. Matrix, coefficients, accumulator and scalar scratch are all scoped; only the vector and report survive.

Main results

* NLAlib.ShiftedQR.rowSolve: the actual scalar implementation with scoped workspace. * NLAlib.ShiftedQR.rowSolve_writes: total singularity-or-inverse correctness.

Declarations