IMP logo
IMP Reference Guide  2.20.2
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 override
 update derivatives of particles More...
 
void add_to_particle_derivative (unsigned particle_no, double value, DerivativeAccumulator &accum) const override
 update derivatives of particles More...
 
FloatsList get_derivative_matrix (const FloatsList &xlist, bool) const override
 for testing purposes More...
 
Eigen::VectorXd get_derivative_vector (unsigned particle_no, const FloatsList &xlist) const override
 return derivative vector More...
 
ModelObjectsTemp get_inputs () const override
 particle manipulation More...
 
unsigned get_ndims_x () const override
 returns the number of input dimensions More...
 
unsigned get_ndims_y () const override
 returns the number of output dimensions More...
 
unsigned get_number_of_optimized_particles () const override
 returns the number of particles that are optimized More...
 
unsigned get_number_of_particles () const override
 returns the number of particles that this function uses More...
 
bool get_particle_is_optimized (unsigned particle_no) const override
 returns true if the particle whose index is provided is optimized More...
 
Eigen::VectorXd get_second_derivative_vector (unsigned, unsigned, const FloatsList &xlist) const override
 return second derivative vector More...
 
FloatsList get_second_derivative_vector (unsigned particle_a, unsigned particle_b, const FloatsList &xlist, bool) const override
 for testing purposes More...
 
virtual std::string get_type_name () const override
 
virtual ::IMP::VersionInfo get_version_info () const override
 Get information about the module and version of the object. More...
 
bool has_changed () const override
 return true if internal parameters have changed. More...
 
Floats operator() (const Floats &x) const override
 evaluate the function at a certain point More...
 
Eigen::VectorXd operator() (const FloatsList &xlist) const override
 evaluate the function at a list of points More...
 
FloatsList operator() (const FloatsList &xlist, bool) const override
 used for testing only More...
 
void update () override
 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
overridevirtual

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
overridevirtual

update derivatives of particles

Implements IMP::isd::UnivariateFunction.

Definition at line 172 of file univariate_functions.h.

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

for testing purposes

Implements IMP::isd::UnivariateFunction.

Definition at line 203 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
overridevirtual

return derivative vector

Implements IMP::isd::UnivariateFunction.

Definition at line 186 of file univariate_functions.h.

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

particle manipulation

Implements IMP::isd::UnivariateFunction.

Definition at line 262 of file univariate_functions.h.

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

returns the number of input dimensions

Implements IMP::isd::UnivariateFunction.

Definition at line 239 of file univariate_functions.h.

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

returns the number of output dimensions

Implements IMP::isd::UnivariateFunction.

Definition at line 240 of file univariate_functions.h.

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

returns the number of particles that are optimized

Implements IMP::isd::UnivariateFunction.

Definition at line 255 of file univariate_functions.h.

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

returns the number of particles that this function uses

Implements IMP::isd::UnivariateFunction.

Definition at line 242 of file univariate_functions.h.

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

returns true if the particle whose index is provided is optimized

Implements IMP::isd::UnivariateFunction.

Definition at line 244 of file univariate_functions.h.

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

return second derivative vector

Implements IMP::isd::UnivariateFunction.

Definition at line 217 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
overridevirtual

for testing purposes

Implements IMP::isd::UnivariateFunction.

Definition at line 225 of file univariate_functions.h.

+ Here is the call graph for this function:

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

Get information about the module and version of the object.

Reimplemented from IMP::Object.

Definition at line 271 of file univariate_functions.h.

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

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
overridevirtual

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
overridevirtual

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
overridevirtual

used for testing only

Implements IMP::isd::UnivariateFunction.

Definition at line 156 of file univariate_functions.h.

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

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: