IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::core::OpenCubicSpline Class Reference

An OpenCubicSpline. More...

#include <IMP/core/OpenCubicSpline.h>

Inheritance diagram for IMP::core::OpenCubicSpline:

Detailed Description

An OpenCubicSpline.

See score_functor::OpenCubicSpline for docs.

Definition at line 19 of file core/OpenCubicSpline.h.

Public Member Functions

 OpenCubicSpline (const Floats &values, Float minrange, Float spacing, bool extend=false)
bool get_extend () const
Float get_minrange () const
Floats get_second_derivatives () const
 Get the calculated second derivatives corresponding to the spline values.
Float get_spacing () const
virtual std::string get_type_name () const override
Floats get_values () const
virtual ::IMP::VersionInfo get_version_info () const override
 Get information about the module and version of the object.
Public Member Functions inherited from IMP::score_functor::ScoreUnaryFunction< score_functor::OpenCubicSpline >
 ScoreUnaryFunction (const score_functor::OpenCubicSpline &score, std::string name="UnaryFunction%1%")
virtual double evaluate (double feature) const override
 Calculate score with respect to the given feature.
virtual DerivativePair evaluate_with_derivative (double feature) const override
 Calculate score and derivative with respect to the given feature.
const score_functor::OpenCubicSpline & get_score () const
Public Member Functions inherited from IMP::UnaryFunction
 UnaryFunction (std::string name="UnaryFunction%1%")
Public Member Functions inherited from IMP::Object
CheckLevel get_check_level () const
 get_derived_object (self)
 Return this object cast to the most derived subclass.
LogLevel get_log_level () const
void set_check_level (CheckLevel l)
void set_log_level (LogLevel l)
 Set the logging level used in this object.
const std::string & get_name () const
 Get the (not necessarily unique) name of this object.
void set_name (std::string name)
void set_was_used (bool tf) const
void show (std::ostream &out=std::cout) const
virtual void clear_caches ()

Additional Inherited Members

Protected Member Functions inherited from IMP::Object
 Object (std::string name)
 Construct an object with the given name.
virtual void do_destroy ()

Constructor & Destructor Documentation

◆ OpenCubicSpline()

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

Definition at line 25 of file core/OpenCubicSpline.h.

◆ ~OpenCubicSpline()

virtual IMP::core::OpenCubicSpline::~OpenCubicSpline ( )
virtual

Definition at line 39 of file core/OpenCubicSpline.h.

Member Function Documentation

◆ get_extend()

bool IMP::core::OpenCubicSpline::get_extend ( ) const

Definition at line 32 of file core/OpenCubicSpline.h.

◆ get_minrange()

Float IMP::core::OpenCubicSpline::get_minrange ( ) const

Definition at line 29 of file core/OpenCubicSpline.h.

◆ get_second_derivatives()

Floats IMP::core::OpenCubicSpline::get_second_derivatives ( ) const

Get the calculated second derivatives corresponding to the spline values.

Definition at line 35 of file core/OpenCubicSpline.h.

◆ get_spacing()

Float IMP::core::OpenCubicSpline::get_spacing ( ) const

Definition at line 30 of file core/OpenCubicSpline.h.

◆ get_type_name()

virtual std::string IMP::core::OpenCubicSpline::get_type_name ( ) const
overridevirtual

◆ get_values()

Floats IMP::core::OpenCubicSpline::get_values ( ) const

Definition at line 31 of file core/OpenCubicSpline.h.

◆ get_version_info()

virtual ::IMP::VersionInfo IMP::core::OpenCubicSpline::get_version_info ( ) const
overridevirtual

Get information about the module and version of the object.

Reimplemented from IMP::score_functor::ScoreUnaryFunction< score_functor::OpenCubicSpline >.

Definition at line 39 of file core/OpenCubicSpline.h.


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