#include <CubicSpline.hh>
|
| 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...
|
| |
◆ CubicSpline()
| numeric::interpolation::spline::CubicSpline::CubicSpline |
( |
| ) |
|
|
inline |
◆ clone()
| CubicSplineOP numeric::interpolation::spline::CubicSpline::clone |
( |
| ) |
const |
|
inline |
◆ Derivative()
| 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().
◆ dF()
| Real numeric::interpolation::spline::CubicSpline::dF |
( |
const Real & |
ARGUMENT | ) |
const |
◆ F()
| Real numeric::interpolation::spline::CubicSpline::F |
( |
const Real & |
ARGUMENT | ) |
const |
◆ FdF()
return value and derivative at ARGUMENT
return derivative and value at certain ARGUMENT
- Parameters
-
- Returns
- value and derivative at ARGUMENT
References dF(), and F().
◆ Function()
| 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().
◆ get_delta()
| 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_.
◆ get_dsecox()
| MathVector< Real> const& numeric::interpolation::spline::CubicSpline::get_dsecox |
( |
| ) |
const |
|
inline |
◆ get_start()
| 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_.
◆ get_values()
| 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_.
◆ operator!=()
| bool numeric::interpolation::spline::CubicSpline::operator!= |
( |
CubicSpline const & |
rhs | ) |
const |
|
inline |
◆ operator==()
| bool numeric::interpolation::spline::CubicSpline::operator== |
( |
CubicSpline const & |
rhs | ) |
const |
|
inline |
◆ sqr()
| Real numeric::interpolation::spline::CubicSpline::sqr |
( |
const Real |
x | ) |
const |
|
inline |
◆ train()
References border_, erraser_analysis::delta1, erraser_analysis::delta2, delta_, dsecox_, numeric::interpolation::spline::e_FirstDer, numeric::interpolation::spline::e_Natural, numeric::interpolation::spline::e_Periodic, create_a3b_hbs::i, numeric::MathMatrix< T >::inverse(), numeric::MathVector< T >::size(), start_, and values_.
Referenced by numeric::interpolation::spline::TricubicSpline::train(), and numeric::interpolation::spline::PolycubicSpline< N >::train().
◆ border_
| BorderFlag numeric::interpolation::spline::CubicSpline::border_ |
|
private |
◆ delta_
| Real numeric::interpolation::spline::CubicSpline::delta_ |
|
private |
◆ dsecox_
◆ start_
| Real numeric::interpolation::spline::CubicSpline::start_ |
|
private |
◆ values_
The documentation for this class was generated from the following files: