IMP logo

IMP::core::OpenCubicSpline Class Reference


Detailed Description

Open cubic spline function.

This function interpolates a set of eveny spaced values using a spline. The the second derivative at the termini is set to zero. See ClosedCubicSpline for a periodic version.

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

Inheritance graph
[legend]

Public Member Functions

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
 OpenCubicSpline (const Floats &values, Float minrange, Float spacing, bool extend=false)
 Constructor.

Friends

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

Constructor & Destructor Documentation

IMP::core::OpenCubicSpline::OpenCubicSpline ( const Floats values,
Float  minrange,
Float  spacing,
bool  extend = false 
)

Constructor.

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
[in] extend If extend is true, the nearest value is used as the value for any feature outside of the range.


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

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