NLA-lib Explorer

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 โ†’ ๐•œ) : โ„•

Full source on GitHub

Import NLAlib.Krylov.Basic.Grade.