galerkin()# abstract _ParametricOperator.galerkin(Vr, Wr=None)[source]# Get the (Petrov-)Galerkin projection of this operator. Parameters Vr(n, r) ndarrayBasis for the trial space. Wr(n, r) ndarray or NoneBasis for the test space. If None, defaults to Vr. Returns opoperatorNew object of the same class as self.