NLA-lib Explorer

Initialization of the Hestenes–Stiefel state

Library · Source module

Initialization of the Hestenes–Stiefel state

The initial iterate is retained while the residual and search direction are initialized to the right-hand side minus its matrix-vector product. All arithmetic is performed through the shared operations. The exact certificate identifies the stored state with the existing PCG recurrence at index zero.

Main results

* NLAlib.Krylov.CG.HSPCG.initializeRoutine_meets: the routine establishes the initial state.

Declarations