IMP logo

IMP::core::Linear Class Reference


Detailed Description

Linear function

Note:
The offset is not meaningful for optimization, but does make the displayed energies nicer.
Inheritance diagram for IMP::core::Linear:

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
 Linear (double offset, double slope)
 Create with the given offset and slope.
void set_offset (double f)
void set_slope (double f)

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

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