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.
|
CrystVector_REAL | Derivative (const CrystVector_REAL &x) const |
| Get spline first derivative value at a series of point - x is assumed to be sorted by increasing values.
|
CrystVector_REAL | Derivative (const REAL min, const REAL step, const long nbpoint) const |
| Get spline first derivative value on a range of values with a fixed step.
|
REAL | Derivative (const REAL x) const |
| Get spline first derivative value at one point.
|
CrystVector_REAL | SecondDerivative (const CrystVector_REAL &x) const |
| Get spline second derivative value at a series of point - x is assumed to be sorted by increasing values.
|
CrystVector_REAL | SecondDerivative (const REAL min, const REAL step, const long nbpoint) const |
| Get spline second derivative value on a range of values with a fixed step.
|
REAL | SecondDerivative (const REAL x) const |
| Get spline second derivative value at one point.
|
Cubic spline interpolation.