NLA-lib Explorer

NLAlib.lanczosReorthStep

Library · def

Step j of Lanczos with full reorthogonalization: Paige's update, two classical Gram–Schmidt passes against \mathbf{q}_0, \dots, \mathbf{q}_j, normalization. Algorithm: lanczos-reorth

NLAlib.lanczosReorthStep.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [Fintype n]
  (A : Matrix n n 𝕜) (j : ℕ) (s : LanczosReorthState 𝕜 n) : LanczosReorthState 𝕜 n

Full source on GitHub

Import NLAlib.Krylov.Processes.LanczosReorthRecurrence.