7#ifndef adaptativeQuadRule_hh
8#define adaptativeQuadRule_hh
23 template<const
intRule ruleType>
Array< Real > weights_
Weights.
uint n_
Number of quadrature points.
const Real * weights() const
Returns a pointer into the array of the weights.
AdaptiveQuadratureRule1d(uint n)
Default constructor that takes into account the number of quadrature points.
Array< Real > abscissas_
Abscissas.
void printRule()
print weights and abscissas to stdout
AdaptiveQuadratureRule1d()
Default constructor.
void AdaptTo()
Adapt computed quadrature rules from (-1,1) to (0,1)
~AdaptiveQuadratureRule1d()
Default destructor.
uint n() const
Returns the number of points.
const Real * abscissas() const
Returns a pointer into the array of the abscissas.
Set< F > makeSet(uint n, const F &first,...)