NLA-lib Explorer

NLAlib.mgsArnoldiHessenberg

Library · def

The (q + 1) \times q Hessenberg matrix computed by the Arnoldi process: the modified Gram–Schmidt coefficients h_{ij} = \mathbf{q}_i^{\mathsf{H}}\mathbf{u}_i for i \le j, where \mathbf{u}_i is \mathbf{A}\mathbf{q}_j reduced against \mathbf{q}_0, \dots, \mathbf{q}_{i-1}, the norm h_{j+1,j} = \|\mathbf{w}_j\|, and zero below.

NLAlib.mgsArnoldiHessenberg.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [Fintype n]
  (A : Matrix n n 𝕜) (b : n → 𝕜) (q : ℕ) : Matrix (Fin (q + 1)) (Fin q) 𝕜

Full source on GitHub

Import NLAlib.Krylov.Processes.ArnoldiRecurrence.