7 #ifndef IMPCORE_OPEN_CUBIC_SPLINE_H
8 #define IMPCORE_OPEN_CUBIC_SPLINE_H
10 #include <IMP/core/core_config.h>
15 IMPCORE_BEGIN_NAMESPACE
27 :
P(
S(values, minrange, spacing, extend)) {}
29 Float get_minrange()
const {
return get_score().get_minrange(); }
30 Float get_spacing()
const {
return get_score().get_spacing(); }
31 Floats get_values()
const {
return get_score().get_values(); }
32 bool get_extend()
const {
return get_score().get_extend(); }
36 return get_score().get_second_derivatives();
Single variable function.
A Score on the distance between a pair of particles.
Open cubic spline function.
Floats get_second_derivatives() const
Get the calculated second derivatives corresponding to the spline values.
double Float
Basic floating-point value (could be float, double...)
A Score on the distance between a pair of particles.