|
template<typename functionT > |
| CubicInterpolationTable (double lo, double hi, int npt, functionT &f) |
|
template<typename functionT > |
| CubicInterpolationTable (madness::World &world, double lo, double hi, int npt, functionT &f) |
|
| CubicInterpolationTable () |
|
double | myreal (const std::complex< double > &z) const |
|
double | myreal (double x) |
|
T | operator() (double y) const |
|
template<typename fredT > |
double | err (fredT f) const |
|
| CubicInterpolationTable () |
|
template<typename functionT > |
| CubicInterpolationTable (double lo, double hi, int npt, const functionT &f) |
|
| CubicInterpolationTable (double lo, double hi, int npt, const std::vector< T > &y) |
|
T | operator() (double y) const |
|
template<typename functionT > |
double | err (const functionT &f) const |
|
virtual | ~CubicInterpolationTable () |
|
template<typename T>
class CubicInterpolationTable< T >
An class for 1-D data interpolation based on cubic polynomials.
Needs to be passed the endpoints of the interpolation: [lo,hi] and the number of grid points.
Two methods for generating the interpolation are presently supported: 1) Pass in a std::vector containing the y-points. 2) Pass in some object that provides an appropriate () operator, perhaps a function pointer.