IMP
2.1.0
The Integrative Modeling Platform
|
Base class for functions of two variables.
#include <IMP/isd/bivariate_functions.h>
Public Member Functions | |
BivariateFunction (std::string str) | |
virtual void | add_to_derivatives (const Floats &x1, const Floats &x2, DerivativeAccumulator &accum) const =0 |
update derivatives of particles | |
virtual void | add_to_particle_derivative (unsigned particle_no, double value, DerivativeAccumulator &accum) const =0 |
update derivatives of particles | |
virtual Eigen::MatrixXd | get_derivative_matrix (unsigned particle_no, const FloatsList &xlist) const =0 |
return derivative matrix | |
virtual FloatsList | get_derivative_matrix (unsigned particle_no, const FloatsList &xlist, bool stupid) const =0 |
virtual ContainersTemp | get_input_containers () const =0 |
virtual kernel::ParticlesTemp | get_input_particles () const =0 |
particle manipulation | |
virtual unsigned | get_ndims_x1 () const =0 |
returns the number of input dimensions | |
virtual unsigned | get_ndims_x2 () const =0 |
virtual unsigned | get_ndims_y () const =0 |
returns the number of output dimensions | |
virtual unsigned | get_number_of_optimized_particles () const =0 |
returns the number of particles that are optimized | |
virtual unsigned | get_number_of_particles () const =0 |
returns the number of particles that this function uses | |
virtual bool | get_particle_is_optimized (unsigned particle_no) const =0 |
returns true if the particle whose index is provided is optimized | |
virtual Eigen::MatrixXd | get_second_derivative_matrix (unsigned particle_a, unsigned particle_b, const FloatsList &xlist) const =0 |
return second derivative matrix | |
virtual FloatsList | get_second_derivative_matrix (unsigned particle_a, unsigned particle_b, const FloatsList &xlist, bool stupid) const =0 |
virtual bool | has_changed () const =0 |
return true if internal parameters have changed. | |
virtual Floats | operator() (const Floats &x1, const Floats &x2) const =0 |
evaluate the function at a certain point | |
virtual Eigen::MatrixXd | operator() (const IMP::FloatsList &xlist) const =0 |
evaluate the function at a list of points | |
virtual FloatsList | operator() (const IMP::FloatsList &xlist, bool stupid) const =0 |
used for testing only | |
virtual void | update ()=0 |
update internal parameters | |
Public Member Functions inherited from IMP::base::Object | |
virtual void | clear_caches () |
virtual void | do_destroy () |
CheckLevel | get_check_level () const |
LogLevel | get_log_level () const |
virtual VersionInfo | get_version_info () const |
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) |
virtual std::string | get_type_name () const |
Additional Inherited Members | |
Protected Member Functions inherited from IMP::base::Object | |
Object (std::string name) | |
Construct an object with the given name. More... | |
Object () | |
Definition at line 24 of file bivariate_functions.h.