Rosetta Utilities  2014.35
Public Member Functions | Private Attributes | List of all members
numeric::interpolation::spline::BicubicSpline Class Reference

#include <Bicubic_spline.hh>

Public Member Functions

 BicubicSpline ()
 construct generic BicubicSpline More...
 
BicubicSplineClone () const
 copy constructor More...
 
MathMatrix< Real > const & get_dsecox () const
 get the second order derivatives of the spline More...
 
MathMatrix< Real > const & get_dsecoy () const
 
MathMatrix< Real > const & get_dsecoxy () const
 
Real F (const MathVector< Real > &ARGUMENTS) const
 
Real dFdx (const MathVector< Real > &ARGUMENTS) const
 
Real dFdy (const MathVector< Real > &ARGUMENTS) const
 
Real F (Real x, Real y) const
 
Real dFdx (Real x, Real y) const
 
Real dFdy (Real x, Real y) const
 
std::pair< Real, MathVector
< Real > > 
FdF (const MathVector< Real > &ARGUMENTS) const
 
void train (const BorderFlag BORDER[2], const Real START[2], const Real DELTA[2], const MathMatrix< Real > &RESULTS, const bool LINCONT[2], const std::pair< Real, Real > FIRSTBE[2])
 train BicubicSpline More...
 
Real sqr (const Real &x) const
 

Private Attributes

BorderFlag border_ [2]
 controls the behavior at x/y_0 and x/y_dim-1 More...
 
Real start_ [2]
 
Real delta_ [2]
 gives the arguments as a sequence of equidistant points More...
 
MathMatrix< Realvalues_
 f(x) More...
 
MathMatrix< Realdsecox_
 second order derivatives for x More...
 
MathMatrix< Realdsecoy_
 second order derivatives for y More...
 
MathMatrix< Realdsecoxy_
 second order derivatives for x and y More...
 
std::pair< Real, Realfirstbe_ [2]
 first order derivative at x_0/dim-1, y_0/dim-1, z_0/dim-1 can be set for BorderFlag FIRSTDER More...
 
bool LinCont_ [2]
 if the argument x is outside the range decide if the spline should be continued linearly More...
 

Constructor & Destructor Documentation

numeric::interpolation::spline::BicubicSpline::BicubicSpline ( )
inline

construct generic BicubicSpline

Referenced by Clone().

Member Function Documentation

BicubicSpline* numeric::interpolation::spline::BicubicSpline::Clone ( ) const
inline

copy constructor

References BicubicSpline().

Real numeric::interpolation::spline::BicubicSpline::dFdx ( const MathVector< Real > &  ARGUMENTS) const
Returns
partial derivative at (x, y) for x
partial derivative at certain (x, y) for x

Referenced by F(), and FdF().

Real numeric::interpolation::spline::BicubicSpline::dFdx ( Real  x,
Real  y 
) const
Real numeric::interpolation::spline::BicubicSpline::dFdy ( const MathVector< Real > &  ARGUMENTS) const
Returns
partial derivative at (x, y) for y
partial derivative at certain (x, y) for y

Referenced by F(), and FdF().

Real numeric::interpolation::spline::BicubicSpline::dFdy ( Real  x,
Real  y 
) const
Real numeric::interpolation::spline::BicubicSpline::F ( const MathVector< Real > &  ARGUMENTS) const
Returns
value at (x, y)
value at certain (x, y)

Referenced by F(), and FdF().

Real numeric::interpolation::spline::BicubicSpline::F ( Real  x,
Real  y 
) const
std::pair< Real, MathVector< Real > > numeric::interpolation::spline::BicubicSpline::FdF ( const MathVector< Real > &  ARGUMENTS) const
MathMatrix< Real> const& numeric::interpolation::spline::BicubicSpline::get_dsecox ( ) const
inline

get the second order derivatives of the spline

References dsecox_.

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

MathMatrix< Real> const& numeric::interpolation::spline::BicubicSpline::get_dsecoxy ( ) const
inline
MathMatrix< Real> const& numeric::interpolation::spline::BicubicSpline::get_dsecoy ( ) const
inline
Real numeric::interpolation::spline::BicubicSpline::sqr ( const Real x) const
inline

Referenced by dFdx(), dFdy(), F(), and FdF().

void numeric::interpolation::spline::BicubicSpline::train ( const BorderFlag  BORDER[2],
const Real  START[2],
const Real  DELTA[2],
const MathMatrix< Real > &  RESULTS,
const bool  LINCONT[2],
const std::pair< Real, Real FIRSTBE[2] 
)

Member Data Documentation

BorderFlag numeric::interpolation::spline::BicubicSpline::border_[2]
private

controls the behavior at x/y_0 and x/y_dim-1

Referenced by dFdx(), dFdy(), F(), FdF(), and train().

Real numeric::interpolation::spline::BicubicSpline::delta_[2]
private

gives the arguments as a sequence of equidistant points

Referenced by dFdx(), dFdy(), F(), FdF(), and train().

MathMatrix< Real> numeric::interpolation::spline::BicubicSpline::dsecox_
private

second order derivatives for x

Referenced by dFdx(), dFdy(), F(), FdF(), get_dsecox(), and train().

MathMatrix< Real> numeric::interpolation::spline::BicubicSpline::dsecoxy_
private

second order derivatives for x and y

Referenced by dFdx(), dFdy(), F(), FdF(), get_dsecoxy(), and train().

MathMatrix< Real> numeric::interpolation::spline::BicubicSpline::dsecoy_
private

second order derivatives for y

Referenced by dFdx(), dFdy(), F(), FdF(), get_dsecoy(), and train().

std::pair< Real, Real> numeric::interpolation::spline::BicubicSpline::firstbe_[2]
private

first order derivative at x_0/dim-1, y_0/dim-1, z_0/dim-1 can be set for BorderFlag FIRSTDER

Referenced by F(), and train().

bool numeric::interpolation::spline::BicubicSpline::LinCont_[2]
private

if the argument x is outside the range decide if the spline should be continued linearly

Referenced by train().

Real numeric::interpolation::spline::BicubicSpline::start_[2]
private

Referenced by dFdx(), dFdy(), F(), FdF(), and train().

MathMatrix< Real> numeric::interpolation::spline::BicubicSpline::values_
private

f(x)

Referenced by dFdx(), dFdy(), F(), FdF(), and train().


The documentation for this class was generated from the following files: