NLA-lib Explorer

Randomized deflation as a routine with declared draws

Library · Source module

Randomized deflation as a routine with declared draws

NLAlib.Deflation.deflateRoutine is [n, rank] (P : read 2 n²) → (Q : write 2 n rank), drawing 2 n² tape positions: it reads a packed square matrix, draws a square sample matrix from the Gaussian stream, multiplies, factors, and writes the first rank columns of the orthogonal factor. Numerical accuracy and the law of the tape are separate assumptions about the result.

Main definitions

* NLAlib.Deflation.deflateRoutine, NLAlib.Deflation.deflateSpec.

Main results

* NLAlib.Deflation.deflateRoutine_meets: the routine meets its specification.

Declarations