IMP logo

IMP::core::ClosedCubicSpline Class Reference


Detailed Description

Closed cubic spline function.

This function is a cubic spline interpolating a set of values. The function is periodic, so the score will also have the same value at minrange + spacing * values.size(). See OpenCubicSpline for a non-periodic spline.

See also:
OpenCubicSpline
Inheritance diagram for IMP::core::ClosedCubicSpline:

Inheritance graph
[legend]

Public Member Functions

 ClosedCubicSpline (const Floats &values, double minrange, double spacing)
virtual double evaluate (double feature) const
virtual DerivativePair evaluate_with_derivative (double feature) const
virtual std::string get_type_name () const
virtual ::IMP::VersionInfo get_version_info () const

Friends

template<class T >
void IMP::internal::unref (T *)

Constructor & Destructor Documentation

IMP::core::ClosedCubicSpline::ClosedCubicSpline ( const Floats values,
double  minrange,
double  spacing 
)

Parameters:
[in] values Score value at each spline point.
[in] minrange Feature value at first spline point.
[in] spacing Distance (in feature space) between points


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

Generated on Mon Mar 8 23:08:55 2010 for IMP by doxygen 1.5.8