NLA-lib Explorer

NLAlib.isGradedKrylovBasis_arnoldiMatrix

Library ยท theorem

The canonical basis is graded up to the grade: for q \le \nu, the grade of \mathbf{b}, \mathsf{arnoldiMatrix}(\mathbf{A}, \mathbf{b}, q) has orthonormal columns and, for each j < q, its first j + 1 columns span \mathcal{K}_{j+1}(\mathbf{A}, \mathbf{b}). [Saad2003, Proposition 6.4]; stated there for the vectors of the Arnoldi process before it stops, which are these columns (mgsArnoldiMatrix_eq_arnoldiMatrix). Result: arnoldi-basis

NLAlib.isGradedKrylovBasis_arnoldiMatrix.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2}
  [Fintype n] [DecidableEq n] {A : Matrix n n ๐•œ} {b : n โ†’ ๐•œ} {q : โ„•} (h : q โ‰ค krylovGrade A b) :
  IsGradedKrylovBasis A b (arnoldiMatrix A b q)

Full source on GitHub

Import NLAlib.Krylov.Processes.Lanczos.