MUQ  0.4.3
ClenshawCurtisQuadrature.h
Go to the documentation of this file.
1 #ifndef CLENSHAWCURTISQUADRATURE_H
2 #define CLENSHAWCURTISQUADRATURE_H
3 
5 
6 namespace muq {
7 namespace Approximation {
8 
47  public:
48 
49  ClenshawCurtisQuadrature(bool nestedIn=true);
50 
51  virtual ~ClenshawCurtisQuadrature() = default;
52 
53  virtual void Compute(unsigned int index) override;
54 
55  virtual unsigned int Exactness(unsigned int quadOrder) const override;
56  private:
57 
58 
59  unsigned int IndexToNumPoints(unsigned int index) const;
60 
61  const bool nested;
62  const double pi = 3.14159265358979323846;
63  };
64 
65 } // namespace muq
66 } // namespace Approximation
67 
68 
69 #endif
virtual unsigned int Exactness(unsigned int quadOrder) const override
unsigned int IndexToNumPoints(unsigned int index) const
virtual void Compute(unsigned int index) override
Base class for multivariate quadrature rules. @detail An abstract class for computing nodes and weigh...
Definition: Quadrature.h:124