NLA-lib Explorer

NLAlib.Krylov.Lanczos.basisValue_zero

Library ยท theorem

Before the first round only the initial basis column is initialized. [Saad2011, ยง6.6].

NLAlib.Krylov.Lanczos.basisValue_zero.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2}
  [Fintype n] (A : Matrix n n ๐•œ) (b : n โ†’ ๐•œ) (j : โ„•) :
  Krylov.Lanczos.basisValue A b 0 j = if j = 0 then (lanczosState A b 0).cur else 0

Full source on GitHub

Import NLAlib.Krylov.Lanczos.Math.Prefix.