IMP  2.0.0
The Integrative Modeling Platform
IMP::isd::Linear1DFunction Class Reference

Linear one-dimensional function.

#include <IMP/isd/univariate_functions.h>

+ Inheritance diagram for IMP::isd::Linear1DFunction:

Public Member Functions

 Linear1DFunction (Particle *a, Particle *b)
 
void add_to_derivatives (const Floats &x, DerivativeAccumulator &accum) const
 update derivatives of particles
 
void add_to_particle_derivative (unsigned particle_no, double value, DerivativeAccumulator &accum) const
 update derivatives of particles
 
FloatsList get_derivative_matrix (const FloatsList &xlist, bool) const
 for testing purposes
 
Eigen::VectorXd get_derivative_vector (unsigned particle_no, const FloatsList &xlist) const
 return derivative vector
 
ContainersTemp get_input_containers () const
 
ParticlesTemp get_input_particles () const
 particle manipulation
 
unsigned get_ndims_x () const
 returns the number of input dimensions
 
unsigned get_ndims_y () const
 returns the number of output dimensions
 
unsigned get_number_of_optimized_particles () const
 returns the number of particles that are optimized
 
unsigned get_number_of_particles () const
 returns the number of particles that this function uses
 
bool get_particle_is_optimized (unsigned particle_no) const
 returns true if the particle whose index is provided is optimized
 
Eigen::VectorXd get_second_derivative_vector (unsigned, unsigned, const FloatsList &xlist) const
 return second derivative vector
 
FloatsList get_second_derivative_vector (unsigned particle_a, unsigned particle_b, const FloatsList &xlist, bool) const
 for testing purposes
 
bool has_changed () const
 return true if internal parameters have changed.
 
Floats operator() (const Floats &x) const
 evaluate the function at a certain point
 
Eigen::VectorXd operator() (const FloatsList &xlist) const
 evaluate the function at a list of points
 
FloatsList operator() (const FloatsList &xlist, bool) const
 used for testing only
 
void update ()
 update internal parameters
 
- Public Member Functions inherited from IMP::isd::UnivariateFunction
 UnivariateFunction (std::string str)
 
- Public Member Functions inherited from IMP::base::Object
virtual void clear_caches ()
 
virtual IMP::base::VersionInfo get_version_info () const =0
 Get information about the module and version of the object.
 
void set_check_level (CheckLevel l)
 
void set_log_level (LogLevel l)
 Set the logging level used in this object. More...
 
void set_was_used (bool tf) const
 
void show (std::ostream &out=std::cout) const
 
const std::string & get_name () const
 
void set_name (std::string name)
 

Additional Inherited Members

- Protected Member Functions inherited from IMP::base::Object
 Object (std::string name)
 Construct an object with the given name. More...
 

Detailed Description

Definition at line 112 of file univariate_functions.h.


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