NLA-lib Explorer

The ordinary Lanczos program over operations

Library · Source module

The ordinary Lanczos program over operations

The program follows Paige's three-term order. Its basis and packed coefficient outputs are initialized to zero, and a squared-norm guard controls every square root and normalization. Early breakdown returns the initialized zero tail. Scalar, BLAS and matvec calls stay abstract.

Main results

* NLAlib.Krylov.Lanczos.update computes the raw three-term residual and alpha. * NLAlib.Krylov.Lanczos.normalize guards square root and normalization by a positive self-dot. * NLAlib.Krylov.Lanczos.solve computes the complete requested basis and coefficients.

Declarations