Rosetta 3.3
Public Member Functions
numeric::interpolation::spline::CubicSpline Class Reference

#include <Cubic_spline.hh>

Collaboration diagram for numeric::interpolation::spline::CubicSpline:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CubicSpline ()
 construct generic CubicSpline
CubicSplineclone () const
 copy constructor
CubicSplinetrain (const BorderFlag BORDER, const core::Real START, const core::Real DELTA, const MathVector< core::Real > &RESULTS, const std::pair< core::Real, core::Real > &FIRSTBE)
core::Real F (const core::Real &ARGUMENT) const
 return value at certain ARGUMENT
core::Real sqr (const core::Real x) const
core::Real dF (const core::Real &ARGUMENT) const
 return derivative at ARGUMENT
std::pair< core::Real, core::Real > FdF (const double &ARGUMENT) const
 return value and derivative at ARGUMENT
MathVector< core::Real > const & get_dsecox () const
 get the second order derivatives of the spline
core::Real get_start () const
 access to the start value
core::Real get_delta () const
 access to the delta value
const MathVector< core::Real > & get_values () const
 access to the values

Constructor & Destructor Documentation

numeric::interpolation::spline::CubicSpline::CubicSpline ( ) [inline]

construct generic CubicSpline

Referenced by clone().


Member Function Documentation

CubicSpline* numeric::interpolation::spline::CubicSpline::clone ( ) const [inline]

copy constructor

References CubicSpline().

core::Real numeric::interpolation::spline::CubicSpline::dF ( const core::Real &  ARGUMENT) const

return derivative at ARGUMENT

return derivative at certain ARGUMENT

Parameters:
ARGUMENTx value
Returns:
derivative at ARGUMENT

References numeric::interpolation::spline::e_Periodic, end, color_pdb::i, and numeric::MathVector< T >::size().

Referenced by FdF().

core::Real numeric::interpolation::spline::CubicSpline::F ( const core::Real &  ARGUMENT) const

return value at certain ARGUMENT

Parameters:
ARGUMENTx value
Returns:
function value at ARGUMENT

References numeric::interpolation::spline::e_Periodic, end, color_pdb::i, and numeric::MathVector< T >::size().

Referenced by FdF().

std::pair< core::Real, core::Real > numeric::interpolation::spline::CubicSpline::FdF ( const double ARGUMENT) const

return value and derivative at ARGUMENT

return derivative and value at certain ARGUMENT

Parameters:
ARGUMENTx value
Returns:
value and derivative at ARGUMENT

References dF(), and F().

core::Real numeric::interpolation::spline::CubicSpline::get_delta ( ) const [inline]

access to the delta value

Returns:
the distance between two support points of the spline
MathVector< core::Real> const& numeric::interpolation::spline::CubicSpline::get_dsecox ( ) const [inline]

get the second order derivatives of the spline

Returns:
the second order derivatives at the support points of the spline

Referenced by numeric::interpolation::spline::BicubicSpline::train().

core::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
const MathVector< core::Real>& numeric::interpolation::spline::CubicSpline::get_values ( ) const [inline]

access to the values

Returns:
the function values at the support points of the spline
core::Real numeric::interpolation::spline::CubicSpline::sqr ( const core::Real  x) const [inline]
CubicSpline & numeric::interpolation::spline::CubicSpline::train ( const BorderFlag  BORDER,
const core::Real  START,
const core::Real  DELTA,
const MathVector< core::Real > &  RESULTS,
const std::pair< core::Real, core::Real > &  FIRSTBE 
)

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines