/** * \file IMP/core/OpenCubicSpline.h \brief Open cubic spline function. * * Copyright 2007-2013 IMP Inventors. All rights reserved. */ #ifndef IMPCORE_OPEN_CUBIC_SPLINE_H #define IMPCORE_OPEN_CUBIC_SPLINE_H #include #include #include #include #include IMPCORE_BEGIN_NAMESPACE //! An OpenCubicSpline /** See score_functor::OpenCubicSpline for docs. */ class OpenCubicSpline : public score_functor::ScoreUnaryFunction { typedef score_functor::OpenCubicSpline S; typedef score_functor::ScoreUnaryFunction P; public: OpenCubicSpline(const Floats &values, Float minrange, Float spacing, bool extend=false): P(S(values, minrange, spacing, extend)){} }; IMPCORE_END_NAMESPACE #endif /* IMPCORE_OPEN_CUBIC_SPLINE_H */