8 #ifndef IMPSCORE_FUNCTOR_UNARY_FUNCTION_EVALUATE_H
9 #define IMPSCORE_FUNCTOR_UNARY_FUNCTION_EVALUATE_H
11 #include <IMP/score_functor/score_functor_config.h>
16 IMPSCOREFUNCTOR_BEGIN_NAMESPACE
24 template <
unsigned int D>
27 double distance)
const {
28 return uf_->evaluate(distance);
30 template <
unsigned int D>
33 double distance)
const {
34 return uf_->evaluate_with_derivative(distance);
38 IMPSCOREFUNCTOR_END_NAMESPACE
A smart pointer to a ref-counted Object that is a class member.
Import IMP/kernel/UnaryFunction.h in the namespace.
Abstract single variable functor class for score functions.
A class to store an fixed array of same-typed values.
A Score on the distance between a pair of particles.
std::pair< double, double > DerivativePair
A pair representing a function value with its first derivative.
A nullptr-initialized pointer to an IMP Object.
Various general useful macros for IMP.
A functor for computing a distance based score for two particles.
Class for storing model, its restraints, constraints, and particles.