NLA-lib Explorer

Stored prefixes and loop states for Lanczos

Library · Source module

Stored prefixes and loop states for Lanczos

The loop invariant records initialized basis and coefficient outputs, the previous vector, and a nonnegative guard whose positivity detects a nonzero current vector. A stopped prefix already describes the complete output because the pure recurrence has a zero tail.

Main results

* NLAlib.Krylov.Lanczos.Prefix.stopped completes a prefix after breakdown. * NLAlib.Krylov.Lanczos.Prefix.readback produces the complete packed output. * NLAlib.Krylov.Lanczos.Prefix.advance updates a prefix through one active round.

Declarations