NLA-lib Explorer

Matrix.IsHermitian.lanczosAlpha_lanczosState

Library ยท theorem

The diagonal Lanczos coefficient is the recurrence coefficient of the spectral measure: for Hermitian \mathbf{A}, every \mathbf{b} and j, the coefficient \alpha_j computed by the Lanczos recurrence from \mathbf{b} is \alpha_j(\mu_{\mathbf{A},\mathbf{b}}).

Matrix.IsHermitian.lanczosAlpha_lanczosState.{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 โ†’ ๐•œ) (j : โ„•) :
  lanczosAlpha A (lanczosState A b j) = jacobiAlpha (spectralMeasure A b) j

Full source on GitHub

Import NLAlib.Krylov.Processes.LanczosPolynomials.