NLA-lib Explorer

NLAlib.Krylov.Lanczos.coeffValue_alpha

Library ยท theorem

The diagonal segment stores exactly the completed coefficients. [Paige1972, ยง2].

NLAlib.Krylov.Lanczos.coeffValue_alpha.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2}
  [Fintype n] (A : Matrix n n ๐•œ) (b : n โ†’ ๐•œ) {cap done j : โ„•} (hj : j < cap) :
  Krylov.Lanczos.coeffValue A b cap done j =
    if j < done then lanczosAlpha A (lanczosState A b j) else 0

Full source on GitHub

Import NLAlib.Krylov.Lanczos.Math.Prefix.