|
MARLEY (Model of Argon Reaction Low Energy Yields) v2.0.0
A Monte Carlo event generator for tens-of-MeV neutrino interactions
|
Abstract base class for an approximate representation of a 1D continuous function. More...
#include <InterpolatingFunction.hh>
Public Member Functions | |
| InterpolatingFunction (double x_min, double x_max) | |
| virtual double | evaluate (double x) const =0 |
| Returns an approximate value of the represented function. | |
Protected Member Functions | |
| InterpolatingFunction () | |
| Allows construction by derived classes without immediately defining the bounds of the interpolation range. | |
Protected Attributes | |
| double | x_max_ |
| Upper bound of the interpolation range. | |
| double | x_min_ |
| Lower bound of the interpolation range. | |
Abstract base class for an approximate representation of a 1D continuous function.
Definition at line 27 of file InterpolatingFunction.hh.
|
inline |
Definition at line 31 of file InterpolatingFunction.hh.
|
inlineprotected |
Allows construction by derived classes without immediately defining the bounds of the interpolation range.
Definition at line 43 of file InterpolatingFunction.hh.
|
pure virtual |
Returns an approximate value of the represented function.
Implemented in marley::ChebyshevInterpolatingFunction, and marley::LinearInterpolatingFunction.
Referenced by marley::Generator::inverse_transform_sample().
|
protected |
Upper bound of the interpolation range.
Definition at line 49 of file InterpolatingFunction.hh.
Referenced by marley::ChebyshevInterpolatingFunction::chebyshev_point().
|
protected |
Lower bound of the interpolation range.
Definition at line 46 of file InterpolatingFunction.hh.
Referenced by marley::ChebyshevInterpolatingFunction::chebyshev_point().