NLA-lib Explorer

NLAlib.pcgState

Library · def

The preconditioned Hestenes–Stiefel recurrence from \mathbf{x}_0: the state after k steps, from (\mathbf{x}_0, \mathbf{r}_0, \mathbf{M}\mathbf{r}_0, \mathbf{M}\mathbf{r}_0). Algorithm: pcg

NLAlib.pcgState.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [Fintype n] (A M : Matrix n n 𝕜)
  (b x₀ : n → 𝕜) : ℕ → PCGState 𝕜 n

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.PCGRecurrence.