7 #ifndef LHAPDF_Interpolator_H
8 #define LHAPDF_Interpolator_H
10 #include "LHAPDF/Utils.h"
11 #include "LHAPDF/KnotArray.h"
double interpolateXQ2(int id, double x, double q2) const
Interpolate a single-point in (x,Q2)
void unbind()
Unbind from GridPDF.
Definition: Interpolator.h:35
const GridPDF * _pdf
Definition: Interpolator.h:79
Internal storage class for PDF data point grids.
Definition: KnotArray.h:20
double interpolateXQ(int id, double x, double q) const
Interpolate a single-point in (x,Q)
Definition: Interpolator.h:50
virtual double _interpolateXQ2(const KnotArray1F &subgrid, double x, size_t ix, double q2, size_t iq2) const =0
Interpolate a single-point in (x,Q2), given x/Q2 values and subgrid indices.
virtual ~Interpolator()
Destructor to allow inheritance.
Definition: Interpolator.h:25
bool hasPDF()
Identify whether this Interpolator has an associated PDF.
Definition: Interpolator.h:38
The general interface for interpolating between grid points.
Definition: Interpolator.h:21
const GridPDF & pdf() const
Get the associated GridPDF.
Definition: Interpolator.h:41
A PDF defined via an interpolation grid.
Definition: GridPDF.h:19
void bind(const GridPDF *pdf)
Bind to a GridPDF.
Definition: Interpolator.h:32
Namespace for all LHAPDF functions and classes.
Definition: AlphaS.h:14