lhapdf is hosted by Hepforge, IPPP Durham
LHAPDF  6.2.3
LHAPDF::LogBicubicInterpolator Class Reference

Implementation of bicubic interpolation. More...

#include <LogBicubicInterpolator.h>

Inheritance diagram for LHAPDF::LogBicubicInterpolator:

Public Member Functions

double _interpolateXQ2 (const KnotArray1F &subgrid, double x, size_t ix, double q2, size_t iq2) const
 Interpolate a single-point in (x,Q2), given x/Q2 values and subgrid indices. More...
- Public Member Functions inherited from LHAPDF::Interpolator
virtual ~Interpolator ()
 Destructor to allow inheritance.
void bind (const GridPDF *pdf)
 Bind to a GridPDF.
void unbind ()
 Unbind from GridPDF.
bool hasPDF ()
 Identify whether this Interpolator has an associated PDF.
const GridPDFpdf () const
 Get the associated GridPDF.
double interpolateXQ (int id, double x, double q) const
 Interpolate a single-point in (x,Q)
double interpolateXQ2 (int id, double x, double q2) const
 Interpolate a single-point in (x,Q2)

Additional Inherited Members

- Protected Member Functions inherited from LHAPDF::Interpolator

Detailed Description

Implementation of bicubic interpolation.

This class will interpolate in 2D using a bicubic hermite spline.

Member Function Documentation

◆ _interpolateXQ2()

double LHAPDF::LogBicubicInterpolator::_interpolateXQ2 ( const KnotArray1F subgrid,
double  x,
size_t  ix,
double  q2,
size_t  iq2 
) const

Interpolate a single-point in (x,Q2), given x/Q2 values and subgrid indices.

Make an all-PID version of interpolateQ and Q2?

The key function to be overridden in derived classes: the subgrid and x/Q2 index lookup (and their caching) are done centrally in the Interpolator base class so do not need to be re-implemented in each flavour of interpolator.

Implements LHAPDF::Interpolator.

The documentation for this class was generated from the following file: