NLA-lib Explorer

NLAlib.pcgState_z_eq

Library ยท theorem

The stored preconditioned residual is \mathbf{M}\mathbf{r}_k.

NLAlib.pcgState_z_eq.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2} [Fintype n]
  (A M : Matrix n n ๐•œ) (b xโ‚€ : n โ†’ ๐•œ) (k : โ„•) :
  (pcgState A M b xโ‚€ k).z = M *แตฅ (pcgState A M b xโ‚€ k).r

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.PCGRecurrence.