NLAlib.arnoldiMatrix
Library · def
The canonical Krylov basis (the Arnoldi basis; for Hermitian \mathbf{A} the Lanczos basis): \mathsf{arnoldiMatrix}(\mathbf{A}, \mathbf{b}, q) is the Gram–Schmidt matrix of \mathbf{K}_q(\mathbf{A}, \mathbf{b}). Column j is the same for every q > j; columns from the grade on are zero, so it has orthonormal columns exactly for q \le \nu.
NLAlib.arnoldiMatrix.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [Fintype n] [DecidableEq n]
(A : Matrix n n 𝕜) (b : n → 𝕜) (q : ℕ) : Matrix n (Fin q) 𝕜Import NLAlib.Krylov.Processes.Lanczos.