#include <Interpolate.h>
Definition at line 36 of file Interpolate.h.
◆ Style
Enumerator |
---|
UNKNOWN | |
CONSTANT | |
LINEAR | |
NATURAL_SPLINE | |
CUBIC_SPLINE | |
CUBIC_SPLINE_PERIODIC | |
AKIMA_SPLINE | |
AKIMA_SPLINE_PERIODIC | |
NUM_STYLES | |
Definition at line 38 of file Interpolate.h.
◆ Interpolate() [1/4]
lsst::afw::math::Interpolate::Interpolate |
( |
Interpolate const & |
| ) |
|
|
delete |
◆ Interpolate() [2/4]
lsst::afw::math::Interpolate::Interpolate |
( |
Interpolate && |
| ) |
|
|
delete |
◆ ~Interpolate()
virtual lsst::afw::math::Interpolate::~Interpolate |
( |
| ) |
|
|
virtualdefault |
◆ Interpolate() [3/4]
Base class ctor.
- Parameters
-
x | the ordinates of points |
y | the values at x[] |
style | desired interpolator |
Definition at line 67 of file Interpolate.h.
◆ Interpolate() [4/4]
Base class ctor.
Note that we should use rvalue references when available as the vectors in xy will typically be movable (although the returned-value-optimisation might suffice for the cases we care about)
- Parameters
-
xy | pair (x,y) where x are the ordinates of points and y are the values at x[] |
style | desired interpolator |
Definition at line 340 of file Interpolate.cc.
◆ interpolate() [1/3]
virtual double lsst::afw::math::Interpolate::interpolate |
( |
double const |
x | ) |
const |
|
pure virtual |
◆ interpolate() [2/3]
ndarray::Array< double, 1 > lsst::afw::math::Interpolate::interpolate |
( |
ndarray::Array< double const, 1 > const & |
x | ) |
const |
◆ interpolate() [3/3]
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ makeInterpolate
A factory function to make Interpolate objects.
- Parameters
-
x | the x-values of points |
y | the values at x[] |
style | desired interpolator |
Definition at line 347 of file Interpolate.cc.
◆ _style
◆ _x
std::vector<double> const lsst::afw::math::Interpolate::_x |
|
protected |
◆ _y
std::vector<double> const lsst::afw::math::Interpolate::_y |
|
protected |
The documentation for this class was generated from the following files: