Implementation of bicubic interpolation. More...
#include <LogBicubicInterpolator.h>
Classes | |
struct | Q2Cache |
A single set of cached Q2-variables. More... | |
struct | Q2Caches |
A multi-level Q2-variable cache for a single subgrid hash. More... | |
struct | XCache |
A single set of cached x-variables. More... | |
struct | XCaches |
A multi-level x-variable cache for a single subgrid hash. More... | |
Public Member Functions | |
double | _interpolateXQ2 (const KnotArray1F &subgrid, double x, size_t ix, double q2, size_t iq2) const |
Implementation of (x,Q2) interpolation. | |
![]() | |
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 GridPDF & | pdf () 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) | |
Static Public Member Functions | |
static XCache & | _getCacheX (const KnotArray1F &subgrid, double x, size_t ix) |
Get and update the current caching structs for interpolation params. More... | |
static Q2Cache & | _getCacheQ2 (const KnotArray1F &subgrid, double q2, size_t iq2) |
Additional Inherited Members |
Implementation of bicubic interpolation.
This class will interpolate in 2D using a bicubic hermite spline.
|
static |
Get and update the current caching structs for interpolation params.