galerkin()#
- StateInputOperator.galerkin(Vr, Wr=None)[source]#
Return the Galerkin projection of the operator, \(\Nhat = (\Wr\trp\Vr)^{-1}\Wr\trp\N[\I_{m}\otimes\Vr]\).
- Parameters:
- Vr(n, r) ndarray
Basis for the trial space.
- Wr(n, r) ndarray or None
Basis for the test space. If
None
, defaults toVr
.
- Returns:
- projected
opinf.operators.StateInputOperator
Projected operator.
- projected