41 std::vector<std::vector<double>>
const& distsubgrid,
42 std::vector<double>
const& distjointgrid);
64 double Evaluate(
double const& x,
int const& ig)
const;
72 double Derive(
double const& x)
const;
81 double Integrate(
double const& a,
double const& b)
const;
137 void Print()
const { std::cout << *
this << std::endl; }
The Grid class defines ab object that is essentially a collection of "SubGrid" objects plus other glo...
Definition grid.h:22
The Interpolator class is a mother class for the x-space interpolationand requires the implementation...
Definition interpolator.h:22
void Print() const
Print the Interpolator object.
Definition interpolator.h:137
std::vector< double > const & GetDistributionJointGrid() const
The distribution on the joint grid.
Definition interpolator.h:136
std::vector< std::vector< double > > _distributionSubGrid
The array with the distribution values on the subgrid.
Definition interpolator.h:142
double Evaluate(double const &x, int const &ig) const
Function that evaluates the interpolated function on a given subgrid.
Interpolator(Grid const &gr, std::vector< std::vector< double > > const &distsubgrid, std::vector< double > const &distjointgrid)
The Interpolator constructor.
virtual std::array< int, 2 > SumBounds(double const &x, SubGrid const &sg) const =0
This purely virtual function computes the lower and upper bounds on which the the sum over interpolan...
virtual double IntInterpolant(int const &, double const &, double const &, SubGrid const &) const
Virtual method for the integral of the interpolating functions.
Definition interpolator.h:119
double Derive(double const &x) const
Function that evaluates the derivative of the interpolated function on the joint grid.
Grid const & _grid
The stored grid reference.
Definition interpolator.h:141
Interpolator(Grid const &gr)
The Interpolator constructor.
std::vector< double > _distributionJointGrid
The array with the distribution values on the joint grid.
Definition interpolator.h:143
virtual double InterpolantLog(int const &beta, double const &lnx, SubGrid const &sg) const =0
Pure virtual method for the interpolating functions polynomial in log(x).
virtual double Interpolant(int const &beta, double const &x, SubGrid const &sg) const =0
Pure virtual method for the interpolating functions.
double Evaluate(double const &x) const
Function that evaluates the interpolated function on the joint grid.
virtual ~Interpolator()=default
friend std::ostream & operator<<(std::ostream &os, Interpolator const &sg)
Method which prints Interpolator with cout <<. This only prints the first subgrid and is supposed to ...
Grid const & GetGrid() const
The grid.
Definition interpolator.h:134
virtual double DerInterpolant(int const &, double const &, SubGrid const &) const
Virtual method for the derivative of the interpolating functions.
Definition interpolator.h:112
double Integrate(double const &a, double const &b) const
Function that evaluates the integral of the interpolated function in the interval [a,...
std::vector< std::vector< double > > const & GetDistributionSubGrid() const
The distribution on the subgrids.
Definition interpolator.h:135
Class for the x-space interpolation SubGrids.
Definition subgrid.h:23
Namespace for all APFEL++ functions and classes.
Definition alphaqcd.h:14
std::ostream & operator<<(std::ostream &os, ConvolutionMap const &cm)
Method which prints ConvolutionMap with cout <<.