LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
2 #if !defined(LSST_AFW_MATH_INTERPOLATE_H)
3 #define LSST_AFW_MATH_INTERPOLATE_H
27 #include "ndarray_fwd.h"
61 ndarray::Array<double, 1>
interpolate(ndarray::Array<double const, 1>
const &
x)
const;
98 ndarray::Array<double const, 1>
const &
y,
122 #endif // LSST_AFW_MATH_INTERPOLATE_H
Interpolate::Style stringToInterpStyle(std::string const &style)
Conversion function to switch a string to an Interpolate::Style.
std::shared_ptr< Interpolate > makeInterpolate(std::vector< double > const &x, std::vector< double > const &y, Interpolate::Style const style=Interpolate::AKIMA_SPLINE)
A factory function to make Interpolate objects.
friend std::shared_ptr< Interpolate > makeInterpolate(std::vector< double > const &x, std::vector< double > const &y, Interpolate::Style const style)
A factory function to make Interpolate objects.
std::vector< double > const _x
Interpolate(std::vector< double > const &x, std::vector< double > const &y, Interpolate::Style const style=UNKNOWN)
Base class ctor.
Interpolate(Interpolate &&)=delete
int lookupMinInterpPoints(Interpolate::Style const style)
Get the minimum number of points needed to use the requested interpolation style.
A base class for image defects.
Interpolate(Interpolate const &)=delete
Interpolate::Style lookupMaxInterpStyle(int const n)
Get the highest order Interpolation::Style available for 'n' points.
Interpolate & operator=(Interpolate &&)=delete
Interpolate & operator=(Interpolate const &)=delete
Interpolate::Style const _style
std::vector< double > const _y
virtual double interpolate(double const x) const =0
virtual ~Interpolate()=default