FOX/ObjCryst++
1.10.X (development)
|
Cubic spline interpolation. More...
Public Member Functions | |
CubicSpline () | |
Default constructor - CubicSpline::Init() should be called afterwards. | |
CubicSpline (const CrystVector_REAL &x, const CrystVector_REAL &y, const REAL yp1, const REAL ypn) | |
Spline with given extremum derivatives. | |
CubicSpline (const REAL *px, const REAL *py, const unsigned long nbPoints, const REAL yp1, const REAL ypn) | |
Spline with given extremum derivatives. | |
CubicSpline (const CrystVector_REAL &x, const CrystVector_REAL &y) | |
Natural cubic spline. | |
CubicSpline (const REAL *px, const REAL *py, const unsigned long nbPoints) | |
Natural cubic spline. | |
void | Init (const CrystVector_REAL &x, const CrystVector_REAL &y, const REAL yp1, const REAL ypn) |
Spline with given extremum derivatives. | |
void | Init (const REAL *px, const REAL *py, const unsigned long nbPoints, const REAL yp1, const REAL ypn) |
Spline with given extremum derivatives. | |
void | Init (const CrystVector_REAL &x, const CrystVector_REAL &y) |
Natural cubic spline. | |
void | Init (const REAL *px, const REAL *py, const unsigned long nbPoints) |
Natural cubic spline. | |
CrystVector_REAL | operator() (const CrystVector_REAL &x) const |
Get spline value at a series of point - x is assumed to be sorted by increasing values. | |
CrystVector_REAL | operator() (const REAL min, const REAL step, const long nbpoint) const |
Get spline value on a range of values with a fixed step. | |
REAL | operator() (const REAL x) const |
Get spline value at one point. | |
Private Member Functions | |
void | InitSpline (const REAL yp1, const REAL ypn) |
void | InitNaturalSpline () |
Private Attributes | |
CrystVector_REAL | mX |
CrystVector_REAL | mY |
CrystVector_REAL | mYsecond |
Cubic spline interpolation.
Definition at line 564 of file CrystVector.h.