IMP logo
IMP Reference Guide  2.12.0
The Integrative Modeling Platform
IMP::isd::Linear1DFunction Class Reference

Linear one-dimensional function. More...

#include <IMP/isd/univariate_functions.h>

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

Detailed Description

Linear one-dimensional function.

Definition at line 110 of file univariate_functions.h.

Public Member Functions

 Linear1DFunction (Particle *a, Particle *b)
 
void add_to_derivatives (const Floats &x, DerivativeAccumulator &accum) const
 update derivatives of particles More...
 
void add_to_particle_derivative (unsigned particle_no, double value, DerivativeAccumulator &accum) const
 update derivatives of particles More...
 
FloatsList get_derivative_matrix (const FloatsList &xlist, bool) const
 for testing purposes More...
 
Eigen::VectorXd get_derivative_vector (unsigned particle_no, const FloatsList &xlist) const
 return derivative vector More...
 
ModelObjectsTemp get_inputs () const
 particle manipulation More...
 
unsigned get_ndims_x () const
 returns the number of input dimensions More...
 
unsigned get_ndims_y () const
 returns the number of output dimensions More...
 
unsigned get_number_of_optimized_particles () const
 returns the number of particles that are optimized More...
 
unsigned get_number_of_particles () const
 returns the number of particles that this function uses More...
 
bool get_particle_is_optimized (unsigned particle_no) const
 returns true if the particle whose index is provided is optimized More...
 
Eigen::VectorXd get_second_derivative_vector (unsigned, unsigned, const FloatsList &xlist) const
 return second derivative vector More...
 
FloatsList get_second_derivative_vector (unsigned particle_a, unsigned particle_b, const FloatsList &xlist, bool) const
 for testing purposes More...
 
virtual std::string get_type_name () const
 
virtual ::IMP::VersionInfo get_version_info () const
 Get information about the module and version of the object. More...
 
bool has_changed () const
 return true if internal parameters have changed. More...
 
Floats operator() (const Floats &x) const
 evaluate the function at a certain point More...
 
Eigen::VectorXd operator() (const FloatsList &xlist) const
 evaluate the function at a list of points More...
 
FloatsList operator() (const FloatsList &xlist, bool) const
 used for testing only More...
 
void update ()
 update internal parameters More...
 
- Public Member Functions inherited from IMP::isd::UnivariateFunction
 UnivariateFunction (std::string str)
 
- Public Member Functions inherited from IMP::Object
virtual void clear_caches ()
 
CheckLevel get_check_level () const
 
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. 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::Object
 Object (std::string name)
 Construct an object with the given name. More...
 
virtual void do_destroy ()
 

Member Function Documentation

void IMP::isd::Linear1DFunction::add_to_derivatives ( const Floats x,
DerivativeAccumulator accum 
) const
virtual

update derivatives of particles

Implements IMP::isd::UnivariateFunction.

Definition at line 164 of file univariate_functions.h.

void IMP::isd::Linear1DFunction::add_to_particle_derivative ( unsigned  particle_no,
double  value,
DerivativeAccumulator accum 
) const
virtual

update derivatives of particles

Implements IMP::isd::UnivariateFunction.

Definition at line 171 of file univariate_functions.h.

FloatsList IMP::isd::Linear1DFunction::get_derivative_matrix ( const FloatsList xlist,
bool  stupid 
) const
virtual

for testing purposes

Implements IMP::isd::UnivariateFunction.

Definition at line 202 of file univariate_functions.h.

+ Here is the call graph for this function:

Eigen::VectorXd IMP::isd::Linear1DFunction::get_derivative_vector ( unsigned  particle_no,
const FloatsList xlist 
) const
virtual

return derivative vector

Implements IMP::isd::UnivariateFunction.

Definition at line 185 of file univariate_functions.h.

ModelObjectsTemp IMP::isd::Linear1DFunction::get_inputs ( ) const
virtual

particle manipulation

Implements IMP::isd::UnivariateFunction.

Definition at line 260 of file univariate_functions.h.

unsigned IMP::isd::Linear1DFunction::get_ndims_x ( ) const
virtual

returns the number of input dimensions

Implements IMP::isd::UnivariateFunction.

Definition at line 237 of file univariate_functions.h.

unsigned IMP::isd::Linear1DFunction::get_ndims_y ( ) const
virtual

returns the number of output dimensions

Implements IMP::isd::UnivariateFunction.

Definition at line 238 of file univariate_functions.h.

unsigned IMP::isd::Linear1DFunction::get_number_of_optimized_particles ( ) const
virtual

returns the number of particles that are optimized

Implements IMP::isd::UnivariateFunction.

Definition at line 253 of file univariate_functions.h.

unsigned IMP::isd::Linear1DFunction::get_number_of_particles ( ) const
virtual

returns the number of particles that this function uses

Implements IMP::isd::UnivariateFunction.

Definition at line 240 of file univariate_functions.h.

bool IMP::isd::Linear1DFunction::get_particle_is_optimized ( unsigned  particle_no) const
virtual

returns true if the particle whose index is provided is optimized

Implements IMP::isd::UnivariateFunction.

Definition at line 242 of file univariate_functions.h.

Eigen::VectorXd IMP::isd::Linear1DFunction::get_second_derivative_vector ( unsigned  particle_a,
unsigned  particle_b,
const FloatsList xlist 
) const
virtual

return second derivative vector

Implements IMP::isd::UnivariateFunction.

Definition at line 215 of file univariate_functions.h.

FloatsList IMP::isd::Linear1DFunction::get_second_derivative_vector ( unsigned  particle_a,
unsigned  particle_b,
const FloatsList xlist,
bool  stupid 
) const
virtual

for testing purposes

Implements IMP::isd::UnivariateFunction.

Definition at line 223 of file univariate_functions.h.

+ Here is the call graph for this function:

virtual ::IMP::VersionInfo IMP::isd::Linear1DFunction::get_version_info ( ) const
virtual

Get information about the module and version of the object.

Reimplemented from IMP::Object.

Definition at line 269 of file univariate_functions.h.

bool IMP::isd::Linear1DFunction::has_changed ( ) const
virtual

return true if internal parameters have changed.

Implements IMP::isd::UnivariateFunction.

Definition at line 120 of file univariate_functions.h.

Floats IMP::isd::Linear1DFunction::operator() ( const Floats x) const
virtual

evaluate the function at a certain point

Implements IMP::isd::UnivariateFunction.

Definition at line 140 of file univariate_functions.h.

Eigen::VectorXd IMP::isd::Linear1DFunction::operator() ( const FloatsList xlist) const
virtual

evaluate the function at a list of points

Implements IMP::isd::UnivariateFunction.

Definition at line 146 of file univariate_functions.h.

FloatsList IMP::isd::Linear1DFunction::operator() ( const FloatsList xlist,
bool  stupid 
) const
virtual

used for testing only

Implements IMP::isd::UnivariateFunction.

Definition at line 156 of file univariate_functions.h.

void IMP::isd::Linear1DFunction::update ( )
virtual

update internal parameters

Implements IMP::isd::UnivariateFunction.

Definition at line 133 of file univariate_functions.h.


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