GENIEGenerator
|
A 2D interpolator using the GSL spline type If GSL version is not sufficient, does an inefficient version using TGraph2D. More...
#include <Interpolator2D.h>
Classes | |
struct | interp_accel_container |
struct | spline2d_container |
Public Member Functions | |
Interpolator2D (const size_t &size_x, const double *grid_x, const size_t &size_y, const double *grid_y, const double *knots) | |
~Interpolator2D () | |
double | Eval (const double &x, const double &y) const |
double | DerivX (const double &x, const double &y) const |
double | DerivY (const double &x, const double &y) const |
double | DerivXX (const double &x, const double &y) const |
double | DerivXY (const double &x, const double &y) const |
double | DerivYY (const double &x, const double &y) const |
Private Attributes | |
spline2d_container * | fSpline |
interp_accel_container * | fAcc_x |
interp_accel_container * | fAcc_y |
A 2D interpolator using the GSL spline type If GSL version is not sufficient, does an inefficient version using TGraph2D.
Definition at line 27 of file Interpolator2D.h.
Interpolator2D::Interpolator2D | ( | const size_t & | size_x, |
const double * | grid_x, | ||
const size_t & | size_y, | ||
const double * | grid_y, | ||
const double * | knots | ||
) |
Definition at line 132 of file Interpolator2D.cxx.
References fSpline, and genie::Interpolator2D::spline2d_container::spl.
Interpolator2D::~Interpolator2D | ( | ) |
double Interpolator2D::DerivX | ( | const double & | x, |
const double & | y | ||
) | const |
Definition at line 163 of file Interpolator2D.cxx.
double Interpolator2D::DerivXX | ( | const double & | x, |
const double & | y | ||
) | const |
Definition at line 175 of file Interpolator2D.cxx.
double Interpolator2D::DerivXY | ( | const double & | x, |
const double & | y | ||
) | const |
Definition at line 181 of file Interpolator2D.cxx.
double Interpolator2D::DerivY | ( | const double & | x, |
const double & | y | ||
) | const |
Definition at line 169 of file Interpolator2D.cxx.
double Interpolator2D::DerivYY | ( | const double & | x, |
const double & | y | ||
) | const |
Definition at line 187 of file Interpolator2D.cxx.
double Interpolator2D::Eval | ( | const double & | x, |
const double & | y | ||
) | const |
Definition at line 158 of file Interpolator2D.cxx.
References fSpline, and genie::Interpolator2D::spline2d_container::spl.
Referenced by genie::GRV98LO::AllPDFs().
|
mutableprivate |
Definition at line 49 of file Interpolator2D.h.
Referenced by ~Interpolator2D().
|
mutableprivate |
Definition at line 50 of file Interpolator2D.h.
Referenced by ~Interpolator2D().
|
private |
Definition at line 46 of file Interpolator2D.h.
Referenced by Eval(), Interpolator2D(), and ~Interpolator2D().