1 #ifndef GAUSSQUADRATURE_H_
2 #define GAUSSQUADRATURE_H_
9 #include <Eigen/Eigenvalues>
13 namespace Approximation {
33 virtual void Compute(
unsigned int quadOrder)
override;
35 virtual unsigned int Exactness(
unsigned int quadOrder)
const override{
return 2*quadOrder+1;};
39 std::shared_ptr<OrthogonalPolynomial>
poly;
Class for computing Gauss Quadrature rules from an orthogonal polynomial family.
virtual void Compute(unsigned int quadOrder) override
std::shared_ptr< OrthogonalPolynomial > poly
virtual unsigned int Exactness(unsigned int quadOrder) const override
virtual ~GaussQuadrature()=default
Base class for multivariate quadrature rules. @detail An abstract class for computing nodes and weigh...