NLAlib.Krylov.Lanczos.coeffValue_succ
Library ยท theorem
Advancing below the cap writes the next diagonal and next coupling cells only. [Paige1972, ยง2].
NLAlib.Krylov.Lanczos.coeffValue_succ.{u_1, u_2} {๐ : Type u_1} [RCLike ๐] {n : Type u_2}
[Fintype n] (A : Matrix n n ๐) (b : n โ ๐) {cap done : โ} (hd : done < cap) (i : โ) :
Krylov.Lanczos.coeffValue A b cap (done + 1) i =
if i = done then lanczosAlpha A (lanczosState A b done)
else
if i = cap + done + 1 then (lanczosState A b (done + 1)).beta
else Krylov.Lanczos.coeffValue A b cap done iImport NLAlib.Krylov.Lanczos.Math.Prefix.