NLA-lib Explorer

NLAlib.krylovMatrix

Library ยท def

The Krylov matrix \mathbf{K}_q(\mathbf{A}, \mathbf{b}) = [\mathbf{b}, \mathbf{A}\mathbf{b}, \dots, \mathbf{A}^{q-1}\mathbf{b}]: column j is \mathbf{A}^j\mathbf{b}, for j < q. For q = 0 it has no columns. [Saad2003, ยง6.2].

NLAlib.krylovMatrix.{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) ๐•œ

Full source on GitHub

Import NLAlib.Krylov.Basic.Space.