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.
November, 2017
Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org
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.
Interpolator2D::~Interpolator2D | ( | ) |
Definition at line 151 of file Interpolator2D.cxx.
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.
|
mutableprivate |
Definition at line 49 of file Interpolator2D.h.
|
mutableprivate |
Definition at line 50 of file Interpolator2D.h.
|
private |
Definition at line 46 of file Interpolator2D.h.