NLA-lib Explorer

NLAlib.cgIterate_sub_mem_krylovSpace

Library ยท theorem

The correction \mathsf{cgIterate}(\mathbf{A}, \mathbf{b}, \mathbf{x}_0, q) - \mathbf{x}_0 lies in the Krylov space of the initial residual, for every \mathbf{A}.

NLAlib.cgIterate_sub_mem_krylovSpace.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2} [Fintype n]
  [DecidableEq n] (A : Matrix n n ๐•œ) (b xโ‚€ : n โ†’ ๐•œ) (q : โ„•) :
  cgIterate A b xโ‚€ q - xโ‚€ โˆˆ krylovSpace A (b - A *แตฅ xโ‚€) q

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.CG.