![]() |
Rosetta Utilities
2014.16.56682
|
#include <Cubic_spline.hh>
Public Member Functions | |
| CubicSpline () | |
| construct generic CubicSpline More... | |
| CubicSpline * | clone () const |
| copy constructor More... | |
| CubicSpline & | train (const BorderFlag BORDER, const Real START, const Real DELTA, const MathVector< Real > &RESULTS, const std::pair< Real, Real > &FIRSTBE) |
| Real | F (const Real &ARGUMENT) const |
| return value at certain ARGUMENT More... | |
| Real | sqr (const Real x) const |
| Real | dF (const Real &ARGUMENT) const |
| return derivative at ARGUMENT More... | |
| std::pair< Real, Real > | FdF (const double &ARGUMENT) const |
| return value and derivative at ARGUMENT More... | |
| MathVector< Real > const & | get_dsecox () const |
| get the second order derivatives of the spline More... | |
| Real | get_start () const |
| access to the start value More... | |
| Real | get_delta () const |
| access to the delta value More... | |
| const MathVector< Real > & | get_values () const |
| access to the values More... | |
Private Member Functions | |
| Real | Function (const int INDEX_LEFT, const int INDEX_RIGHT, const Real DXP) const |
| calculate function between two cells More... | |
| Real | Derivative (const int INDEX_LEFT, const int INDEX_RIGHT, const Real DXP) const |
| calculate derivative between two cells More... | |
Private Attributes | |
| BorderFlag | border_ |
| controls the behavior at x_0 and x_dim-1 More... | |
| Real | start_ |
| Real | delta_ |
| gives the arguments as a sequence of equidistant points More... | |
| MathVector< Real > | values_ |
| f(x) More... | |
| MathVector< Real > | dsecox_ |
| second order derivatives More... | |
|
inline |
construct generic CubicSpline
Referenced by clone().
|
inline |
copy constructor
References CubicSpline().
|
private |
return derivative at ARGUMENT
return derivative at certain ARGUMENT
| ARGUMENT | x value |
References border_, delta_, Derivative(), numeric::interpolation::spline::e_Periodic, basic::options::OptionKeys::cutoutdomain::end, numeric::MathVector< T >::size(), start_, and values_.
Referenced by FdF().
return value at certain ARGUMENT
| ARGUMENT | x value |
References border_, delta_, Derivative(), numeric::interpolation::spline::e_Periodic, basic::options::OptionKeys::cutoutdomain::end, Function(), numeric::MathVector< T >::size(), start_, and values_.
Referenced by FdF().
|
private |
calculate function between two cells
| INDEX_LEFT | index of left grid point |
| INDEX_RIGHT | index of right grid point |
| DXP | relative distance from left grid point, must be element [0, 1] |
References delta_, dsecox_, sqr(), and values_.
Referenced by F().
|
inline |
access to the delta value
References delta_.
|
inline |
get the second order derivatives of the spline
References dsecox_.
Referenced by numeric::interpolation::spline::TricubicSpline::train(), and numeric::interpolation::spline::BicubicSpline::train().
|
inline |
access to the start value
References start_.
|
inline |
access to the values
References values_.
Referenced by Function().
| CubicSpline & numeric::interpolation::spline::CubicSpline::train | ( | const BorderFlag | BORDER, |
| const Real | START, | ||
| const Real | DELTA, | ||
| const MathVector< Real > & | RESULTS, | ||
| const std::pair< Real, Real > & | FIRSTBE | ||
| ) |
References numeric::interpolation::spline::e_FirstDer, numeric::interpolation::spline::e_Natural, numeric::interpolation::spline::e_Periodic, numeric::MathMatrix< T >::inverse(), and numeric::MathVector< T >::size().
Referenced by numeric::interpolation::spline::TricubicSpline::train(), and numeric::interpolation::spline::BicubicSpline::train().
|
private |
|
private |
gives the arguments as a sequence of equidistant points
Referenced by Derivative(), dF(), F(), Function(), and get_delta().
|
private |
second order derivatives
Referenced by Derivative(), Function(), and get_dsecox().
|
private |
Referenced by dF(), F(), and get_start().
|
private |
f(x)
Referenced by Derivative(), dF(), F(), Function(), and get_values().
1.8.7