NLA-lib Explorer

Galerkin approximation on a subspace

Library · Source module

Galerkin approximation on a subspace

The Galerkin inverse of \mathbf{A} on the column space of a matrix \mathbf{X} is (\mathbf{P}_{\mathbf{X}}\mathbf{A}\mathbf{P}_{\mathbf{X}})^{+}. It depends on the subspace only, and in any orthonormal basis \mathbf{Q} of it equals \mathbf{Q}(\mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{Q})^{+}\mathbf{Q}^{\mathsf{H}}, which for positive definite \mathbf{A} is \mathbf{Q}(\mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{Q})^{-1}\mathbf{Q}^{\mathsf{H}}. Applied to \mathbf{b} it gives the vector of the subspace whose residual is orthogonal to the subspace, the minimiser of the \mathbf{A}-norm error. The conjugate gradient iterate is the case of a Krylov space (NLAlib.cgIterate); block CG, preconditioned CG and CGLS are other choices of \mathbf{X}, and a matrix right-hand side needs no second definition.

Orthogonality of a residual to the subspace is always stated as \mathbf{X}^{\mathsf{H}}(\mathbf{b} - \mathbf{A}\mathbf{y}) = \mathbf{0}; NLAlib.forall_mem_range_star_dotProduct_eq_zero_iff converts it to the quantified form.

Main definitions

* NLAlib.galerkinInverse: (\mathbf{P}_{\mathbf{X}}\mathbf{A}\mathbf{P}_{\mathbf{X}})^{+}.

Main results

* NLAlib.galerkinInverse_eq_of_range_eq: it depends only on the column space. * NLAlib.HasOrthonormalCols.galerkinInverse_eq, Matrix.PosDef.galerkinInverse_eq: the frame forms. * Matrix.PosDef.conjTranspose_mul_one_sub_mul_galerkinInverse: the Galerkin condition. * Matrix.PosDef.eq_galerkinInverse_mulVec_of_conjTranspose_mulVec_sub_eq_zero: the Galerkin condition determines the approximation. * Matrix.PosDef.isMinOn_galerkinInverse_mulVec: \mathbf{A}-norm optimality.

Declarations