NLA-lib Explorer

NLAlib.IsGradedKrylovBasis.eq_arnoldiMatrix

Library ยท theorem

Headline of arnoldi-basis

Uniqueness of the graded basis: a graded basis whose matrix \mathbf{Q}^{\mathsf{H}}\mathbf{K}_q(\mathbf{A}, \mathbf{b}) has positive diagonal (in the order of \Bbbk, so real positive) is the canonical one: an orthonormal \mathbf{Q} with q columns whose first j + 1 columns span \mathcal{K}_{j+1}(\mathbf{A}, \mathbf{b}) for each j < q is \mathsf{arnoldiMatrix}(\mathbf{A}, \mathbf{b}, q). Result: arnoldi-basis

NLAlib.IsGradedKrylovBasis.eq_arnoldiMatrix.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2}
  [Fintype n] [DecidableEq n] {A : Matrix n n ๐•œ} {b : n โ†’ ๐•œ} {q : โ„•} {Q : Matrix n (Fin q) ๐•œ}
  (hQ : IsGradedKrylovBasis A b Q) (hpos : โˆ€ (j : Fin q), 0 < (Qแดด * krylovMatrix A b q) j j) :
  Q = arnoldiMatrix A b q

Full source on GitHub

Import NLAlib.Krylov.Processes.Lanczos.