IMP Reference Guide
develop.7cb8855c60,2024/10/08
The Integrative Modeling Platform
|
Linear one-dimensional function. More...
#include <IMP/isd/univariate_functions.h>
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 () |
|
overridevirtual |
update derivatives of particles
Implements IMP::isd::UnivariateFunction.
Definition at line 164 of file univariate_functions.h.
|
overridevirtual |
update derivatives of particles
Implements IMP::isd::UnivariateFunction.
Definition at line 172 of file univariate_functions.h.
|
overridevirtual |
for testing purposes
Implements IMP::isd::UnivariateFunction.
Definition at line 203 of file univariate_functions.h.
|
overridevirtual |
return derivative vector
Implements IMP::isd::UnivariateFunction.
Definition at line 186 of file univariate_functions.h.
|
overridevirtual |
particle manipulation
Implements IMP::isd::UnivariateFunction.
Definition at line 262 of file univariate_functions.h.
|
overridevirtual |
returns the number of input dimensions
Implements IMP::isd::UnivariateFunction.
Definition at line 239 of file univariate_functions.h.
|
overridevirtual |
returns the number of output dimensions
Implements IMP::isd::UnivariateFunction.
Definition at line 240 of file univariate_functions.h.
|
overridevirtual |
returns the number of particles that are optimized
Implements IMP::isd::UnivariateFunction.
Definition at line 255 of file univariate_functions.h.
|
overridevirtual |
returns the number of particles that this function uses
Implements IMP::isd::UnivariateFunction.
Definition at line 242 of file univariate_functions.h.
|
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.
|
overridevirtual |
return second derivative vector
Implements IMP::isd::UnivariateFunction.
Definition at line 217 of file univariate_functions.h.
|
overridevirtual |
for testing purposes
Implements IMP::isd::UnivariateFunction.
Definition at line 225 of file univariate_functions.h.
|
overridevirtual |
Get information about the module and version of the object.
Reimplemented from IMP::Object.
Definition at line 271 of file univariate_functions.h.
|
overridevirtual |
return true if internal parameters have changed.
Implements IMP::isd::UnivariateFunction.
Definition at line 120 of file univariate_functions.h.
evaluate the function at a certain point
Implements IMP::isd::UnivariateFunction.
Definition at line 140 of file univariate_functions.h.
|
overridevirtual |
evaluate the function at a list of points
Implements IMP::isd::UnivariateFunction.
Definition at line 146 of file univariate_functions.h.
|
overridevirtual |
used for testing only
Implements IMP::isd::UnivariateFunction.
Definition at line 156 of file univariate_functions.h.
|
overridevirtual |
update internal parameters
Implements IMP::isd::UnivariateFunction.
Definition at line 133 of file univariate_functions.h.