BaseInterpolation Class Reference
Inheritance diagram for BaseInterpolation:
Detailed DescriptionBase class for interpolation Constructor & Destructor Documentation◆ BaseInterpolation()
default constructor ◆ ~BaseInterpolation()
default destructor Member Function Documentation◆ eval_status()
return status of the last evaluation It needs to be implemented in each derived class, the idea is that the variable is recomputed after each evaluation. Its binary format is such that the rightmost bit corresponds to the first variable from the vector x of the interp(const vector<double> &x) so for example: 11 (decimal 3) the first two elements were out of range, 10 (decimal 2) the second element was out of range, 0 (decimal 0) none element out of range (in other words success). ◆ grid_limits()
grid limits in form of vector of pairs: [[x1min,x1max], [x2min,x2max],..] Reimplemented in CubicSpline3D, and Interpolation2D. ◆ interp()
return the interpolated value corresponding to the vector (x1,x2,x3,..) Reimplemented in CubicSpline3D, and Interpolation2D. The documentation for this class was generated from the following file:
Generated on Fri Jun 7 2019 18:46:38 for TMDlib by 1.8.15 |