NLA-lib Explorer

Matrix.IsHermitian.lanczosState_beta

Library ยท theorem

The off-diagonal Lanczos coefficient is the square root of the recurrence coefficient of the spectral measure: for Hermitian \mathbf{A}, every \mathbf{b} and j, the coefficient \beta_{j+1} computed by the Lanczos recurrence from \mathbf{b} is \sqrt{\beta_{j+1}(\mu_{\mathbf{A},\mathbf{b}})} (Gautschi's \beta, the ratio of squared norms).

Matrix.IsHermitian.lanczosState_beta.{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 : โ„•) :
  (lanczosState A b (j + 1)).beta = โˆš(jacobiBeta (spectralMeasure A b) (j + 1))

Full source on GitHub

Import NLAlib.Krylov.Processes.LanczosPolynomials.