NLA-lib Explorer

Matrix.PosDef.span_cgState_p

Library ยท theorem

The search directions span the Krylov spaces, for positive definite \mathbf{A}. [HestenesStiefel1952, Theorem 5:4]; [TrefethenBau1997, Theorem 38.1]. Hestenes and Stiefel give the three-term relations (5:7) for the directions, from which \mathbf{p}_j lies in \mathcal{K}_{j+1}(\mathbf{A}, \mathbf{r}_0).

Matrix.PosDef.span_cgState_p.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2} [Fintype n]
  [DecidableEq n] {A : Matrix n n ๐•œ} {b xโ‚€ : n โ†’ ๐•œ} (hA : A.PosDef) (k : โ„•) :
  Submodule.span ๐•œ (Set.range fun j โ†ฆ (cgState A b xโ‚€ โ†‘j).p) = krylovSpace A (b - A *แตฅ xโ‚€) k

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.CGRecurrence.