IMP
2.2.0
The Integrative Modeling Platform
IMP Mainpage
All IMP Modules
Related Pages
Modules
Namespaces
Classes
Files
Examples
Indexes
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-2014 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/score_functor/OpenCubicSpline.h
>
13
#include <
IMP/score_functor/ScoreUnaryFunction.h
>
14
15
IMPCORE_BEGIN_NAMESPACE
16
17
//! An OpenCubicSpline
18
/** See score_functor::OpenCubicSpline for docs. */
19
class
OpenCubicSpline
20
:
public
score_functor::ScoreUnaryFunction
<score_functor::OpenCubicSpline> {
21
typedef
score_functor::OpenCubicSpline
S
;
22
typedef
score_functor::ScoreUnaryFunction<S>
P
;
23
24
public
:
25
OpenCubicSpline
(
const
Floats
&values,
Float
minrange,
Float
spacing,
26
bool
extend =
false
)
27
:
P
(
S
(values, minrange, spacing, extend)) {}
28
};
29
30
IMPCORE_END_NAMESPACE
31
32
#endif
/* IMPCORE_OPEN_CUBIC_SPLINE_H */
IMP::core::OpenCubicSpline
An OpenCubicSpline.
Definition:
core/OpenCubicSpline.h:19
UnaryFunction.h
Import IMP/kernel/UnaryFunction.h in the namespace.
ScoreUnaryFunction.h
A Score on the distance between a pair of particles.
IMP::score_functor::ScoreUnaryFunction
Definition:
ScoreUnaryFunction.h:20
IMP::base::Vector< Float >
IMP::score_functor::OpenCubicSpline
Open cubic spline function.
Definition:
score_functor/OpenCubicSpline.h:23
IMP::Float
double Float
Basic floating-point value (could be float, double...)
Definition:
base/types.h:20
OpenCubicSpline.h
A Score on the distance between a pair of particles.