NLAlib.krylovGrade
Library ยท def
The grade \nu of \mathbf{b} with respect to \mathbf{A}: the dimension of the largest Krylov space, the rank of \mathbf{K}_{\lvert n \rvert}(\mathbf{A}, \mathbf{b}). The Krylov spaces grow strictly up to q = \nu and are constant from there on. \nu = 0 exactly when \mathbf{b} = \mathbf{0}. [Saad2003, ยง6.2].
NLAlib.krylovGrade.{u_1, u_2} {๐ : Type u_1} [RCLike ๐] {n : Type u_2} [Fintype n] [DecidableEq n]
(A : Matrix n n ๐) (b : n โ ๐) : โImport NLAlib.Krylov.Basic.Grade.