#include <CubicSpline.hh>
numeric::interpolation::spline::CubicSpline::CubicSpline |
( |
| ) |
|
|
inline |
CubicSplineOP numeric::interpolation::spline::CubicSpline::clone |
( |
| ) |
const |
|
inline |
Real numeric::interpolation::spline::CubicSpline::Derivative |
( |
const int |
INDEX_LEFT, |
|
|
const int |
INDEX_RIGHT, |
|
|
const Real |
DXP |
|
) |
| const |
|
private |
calculate derivative between two cells
- Parameters
-
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] |
- Returns
- derivative depending on relative distance DXP
References delta_, dsecox_, and values_.
Referenced by dF(), and F().
Real numeric::interpolation::spline::CubicSpline::dF |
( |
const Real & |
ARGUMENT | ) |
const |
Real numeric::interpolation::spline::CubicSpline::F |
( |
const Real & |
ARGUMENT | ) |
const |
std::pair< Real, Real > numeric::interpolation::spline::CubicSpline::FdF |
( |
const double & |
ARGUMENT | ) |
const |
return value and derivative at ARGUMENT
return derivative and value at certain ARGUMENT
- Parameters
-
- Returns
- value and derivative at ARGUMENT
References dF(), and F().
Real numeric::interpolation::spline::CubicSpline::Function |
( |
const int |
INDEX_LEFT, |
|
|
const int |
INDEX_RIGHT, |
|
|
const Real |
DXP |
|
) |
| const |
|
private |
calculate function between two cells
- Parameters
-
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] |
- Returns
- function depending on relative distance DXP
References delta_, dsecox_, sqr(), and values_.
Referenced by F().
Real numeric::interpolation::spline::CubicSpline::get_delta |
( |
| ) |
const |
|
inline |
access to the delta value
- Returns
- the distance between two support points of the spline
References delta_.
MathVector< Real> const& numeric::interpolation::spline::CubicSpline::get_dsecox |
( |
| ) |
const |
|
inline |
Real numeric::interpolation::spline::CubicSpline::get_start |
( |
| ) |
const |
|
inline |
access to the start value
- Returns
- the start of the interval the spline is defined on
References start_.
const MathVector< Real>& numeric::interpolation::spline::CubicSpline::get_values |
( |
| ) |
const |
|
inline |
access to the values
- Returns
- the function values at the support points of the spline
References values_.
bool numeric::interpolation::spline::CubicSpline::operator!= |
( |
CubicSpline const & |
rhs | ) |
const |
|
inline |
bool numeric::interpolation::spline::CubicSpline::operator== |
( |
CubicSpline const & |
rhs | ) |
const |
|
inline |
Real numeric::interpolation::spline::CubicSpline::sqr |
( |
const Real |
x | ) |
const |
|
inline |
BorderFlag numeric::interpolation::spline::CubicSpline::border_ |
|
private |
Real numeric::interpolation::spline::CubicSpline::delta_ |
|
private |
Real numeric::interpolation::spline::CubicSpline::start_ |
|
private |
The documentation for this class was generated from the following files: