NLA-lib Explorer

NLAlib.galerkinInverse_blockKrylovMatrix_replicateCol

Library ยท theorem

The Galerkin inverse \mathsf{galerkinInverse}(\mathbf{A}, \mathbf{X}) is the same for \mathbf{X} the one-column block Krylov matrix of \mathbf{b} and for the Krylov matrix of \mathbf{b}: both depend only on the column space, and the two column spaces agree (NLAlib.blockKrylovSpace_replicateCol).

NLAlib.galerkinInverse_blockKrylovMatrix_replicateCol.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ]
  {n : Type u_2} [Fintype n] [DecidableEq n] (A : Matrix n n ๐•œ) (b : n โ†’ ๐•œ) (q : โ„•) :
  galerkinInverse A (blockKrylovMatrix A (replicateCol Unit b) q) =
    galerkinInverse A (krylovMatrix A b q)

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.CG.