NLA-lib Explorer

NLAlib.arnoldiMatrix_submatrix_castLE

Library ยท theorem

The first q columns of a longer canonical basis \mathsf{arnoldiMatrix}(\mathbf{A}, \mathbf{b}, q') form the shorter one \mathsf{arnoldiMatrix}(\mathbf{A}, \mathbf{b}, q).

NLAlib.arnoldiMatrix_submatrix_castLE.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2}
  [Fintype n] [DecidableEq n] (A : Matrix n n ๐•œ) (b : n โ†’ ๐•œ) {q q' : โ„•} (h : q โ‰ค q') :
  (arnoldiMatrix A b q').submatrix id (Fin.castLE h) = arnoldiMatrix A b q

Full source on GitHub

Import NLAlib.Krylov.Processes.Lanczos.