Mathematical prefixes used by the rounded CG loop
Library · Source module
Mathematical prefixes used by the rounded CG loop
A zero-step state is kept separate because the existing CGRun requires positive length. Every nonzero prefix is the existing run record tied to its actual endpoint and cache. The spectral horizon controls direction breakdown through the existing finite-precision math.
Main results
* NLAlib.Krylov.CG.HSCG.Carried.Rounded.IsPrefix.advance appends an actual local recurrence. * NLAlib.Krylov.CG.HSCG.Carried.Rounded.IsPrefix.direction_ne_zero derives continuation.