NLA-lib Explorer

NLAlib.exists_gramSchmidtR_smul_arnoldiMatrix_col_last

Library · theorem

The Gram–Schmidt recursion for the canonical columns of \mathsf{arnoldiMatrix}(\mathbf{A}, \mathbf{b}, j + 1): r_j\mathbf{q}_j = \mathbf{A}^j\mathbf{b} - \mathbf{y} for some \mathbf{y} \in \mathcal{K}_j(\mathbf{A}, \mathbf{b}).

NLAlib.exists_gramSchmidtR_smul_arnoldiMatrix_col_last.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜]
  {n : Type u_2} [Fintype n] [DecidableEq n] (A : Matrix n n 𝕜) (b : n → 𝕜) (j : ℕ) :
  ∃ y ∈ krylovSpace A b j,
    gramSchmidtR (krylovMatrix A b (j + 1)) (Fin.last j) (Fin.last j) •
        (arnoldiMatrix A b (j + 1)).col (Fin.last j) =
      A ^ j *ᵥ b - y

Full source on GitHub

Import NLAlib.Krylov.Processes.Lanczos.