Linear one-dimensional function.
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 |
|
FloatsList | operator() (const FloatsList &xlist, bool) const |
| void | update () |
| | update internal parameters
|
|
def | __init__ |
|
| UnivariateFunction (std::string str) |
| virtual Eigen::VectorXd | 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
|
|
std::size_t | __hash__ () const |
| virtual std::string | get_type_name () const =0 |
| | Return a string identifying the type of the object.
|
| 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.
|
| 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) |