NLA-lib Explorer

Matrix.IsHermitian.lanczosTridiagonal_eq

Library ยท theorem

The Lanczos recurrence computes the compression: for Hermitian \mathbf{A} and every q, the tridiagonal matrix computed by q steps from \mathbf{b} is \mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{Q} for the canonical basis \mathbf{Q} = \mathsf{arnoldiMatrix}(\mathbf{A}, \mathbf{b}, q). [Saad2003, Theorem 6.19]; there the Arnoldi matrix \mathbf{H}_m = \mathbf{V}_m^{\mathsf{T}} \mathbf{A}\mathbf{V}_m ([Saad2003, \mathbf{P}roposition 6.5]) of a real symmetric \mathbf{A} is the tridiagonal matrix of the Lanczos algorithm, before the process stops; here every q. Result: lanczos-recurrence

Matrix.IsHermitian.lanczosTridiagonal_eq.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2}
  [Fintype n] [DecidableEq n] {A : Matrix n n ๐•œ} (hA : A.IsHermitian) (b : n โ†’ ๐•œ) (q : โ„•) :
  lanczosTridiagonal A b q = (arnoldiMatrix A b q)แดด * A * arnoldiMatrix A b q

Full source on GitHub

Import NLAlib.Krylov.Processes.LanczosRecurrence.