NLA-lib Explorer

Matrix.IsHermitian.lanczosTridiagonal_eq_jacobiMatrix

Library ยท theorem

Headline of lanczos-jacobi-matrix

The Lanczos tridiagonal is the Jacobi matrix of the spectral measure: for Hermitian \mathbf{A} and every q, the tridiagonal matrix of q steps of the Lanczos recurrence from \mathbf{b} is \mathbf{J}_q(\mu_{\mathbf{A},\mathbf{b}}); past the grade both are padded with the same zeros. [GolubMeurant2010, Ch. 4]; [Gautschi2004, ยง3.1] (locators to check). Result: lanczos-jacobi-matrix

Matrix.IsHermitian.lanczosTridiagonal_eq_jacobiMatrix.{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 = (jacobiMatrix (spectralMeasure A b) q).map โ‡‘(algebraMap โ„ ๐•œ)

Full source on GitHub

Import NLAlib.Krylov.Processes.LanczosPolynomials.