IMP
2.0.1
The Integrative Modeling Platform
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
core/OpenCubicSpline.h
Go to the documentation of this file.
1
/**
2
* \file IMP/core/OpenCubicSpline.h \brief Open cubic spline function.
3
*
4
* Copyright 2007-2013 IMP Inventors. All rights reserved.
5
*/
6
7
#ifndef IMPCORE_OPEN_CUBIC_SPLINE_H
8
#define IMPCORE_OPEN_CUBIC_SPLINE_H
9
10
#include <IMP/core/core_config.h>
11
#include <
IMP/UnaryFunction.h
>
12
#include <
IMP/unary_function_macros.h
>
13
#include <
IMP/score_functor/OpenCubicSpline.h
>
14
#include <
IMP/score_functor/ScoreUnaryFunction.h
>
15
16
IMPCORE_BEGIN_NAMESPACE
17
18
//! An OpenCubicSpline
19
/** See score_functor::OpenCubicSpline for docs. */
20
class
OpenCubicSpline
:
21
public
score_functor::ScoreUnaryFunction
<score_functor::OpenCubicSpline>
22
{
23
typedef
score_functor::OpenCubicSpline
S
;
24
typedef
score_functor::ScoreUnaryFunction<S>
P
;
25
public
:
26
OpenCubicSpline
(
const
Floats
&values,
Float
minrange,
27
Float
spacing,
bool
extend=
false
):
28
P
(
S
(values, minrange, spacing, extend)){}
29
};
30
31
IMPCORE_END_NAMESPACE
32
33
#endif
/* IMPCORE_OPEN_CUBIC_SPLINE_H */