Class is an abstract type expressing the concept of interpolation. More...
#include <interpolation.hpp>
Public Member Functions | |
Interpolation () | |
Constructor. More... | |
virtual double | operator() (const std::vector< double > &x, const std::vector< double > &y, const double &x_int) const =0 |
Operator performing calculation. More... | |
virtual Interpolation * | clone () const =0 |
Virtual copy constructor. More... | |
virtual std::string | info () const =0 |
Info about class. More... | |
virtual unsigned int | getMinSize () const =0 |
return the minimum number of points required by the interpolation More... | |
virtual | ~Interpolation () |
Destructor. More... | |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &, const unsigned int) |
interface used by Boost serialization library More... | |
Friends | |
class | boost::serialization::access |
Detailed Description
Class is an abstract type expressing the concept of interpolation.
This class is a interface of all interpolation techniques.
- Note
- Interpolation is only defined for interval defined by the first and the last argument given. The interpolation objects do not extrapolate values outside the interval.
- Precondition
- x vector must be sorted.
Constructor & Destructor Documentation
|
inline |
Constructor.
Default constructor.
|
inlinevirtual |
Destructor.
Default destructor.
Member Function Documentation
|
pure virtual |
Virtual copy constructor.
Method is an implementation of virtual copy constructor.
Implemented in julian::LinearInterpolation, julian::NaturalCubicSpline, julian::AKIMA, julian::SteffenInterpolation, julian::LogarithmicInterpolation, julian::CubicInterpolation, julian::FlatBackward, julian::QuadraticInterpolation, julian::FlatForward, and julian::PolynomialInterpolation.
|
pure virtual |
return the minimum number of points required by the interpolation
Implemented in julian::LinearInterpolation, julian::NaturalCubicSpline, julian::AKIMA, julian::SteffenInterpolation, julian::CubicInterpolation, julian::LogarithmicInterpolation, julian::FlatBackward, julian::QuadraticInterpolation, julian::FlatForward, and julian::PolynomialInterpolation.
|
pure virtual |
Info about class.
Method returns string that containing information about class.
Implemented in julian::NaturalCubicSpline, julian::LinearInterpolation, julian::AKIMA, julian::LogarithmicInterpolation, julian::SteffenInterpolation, julian::CubicInterpolation, julian::FlatBackward, julian::QuadraticInterpolation, julian::FlatForward, and julian::PolynomialInterpolation.
|
pure virtual |
Operator performing calculation.
This operator returns the value of interpolant for x_init argument. Interpolant is fitted to (x,y) points.
Implemented in julian::LinearInterpolation, julian::NaturalCubicSpline, julian::AKIMA, julian::SteffenInterpolation, julian::LogarithmicInterpolation, julian::CubicInterpolation, julian::FlatBackward, julian::QuadraticInterpolation, julian::FlatForward, and julian::PolynomialInterpolation.
|
inlineprivate |
interface used by Boost serialization library
The documentation for this class was generated from the following file:
- C:/Unix/home/OEM/jULIAN/src/mathematics/interpolation/interpolation.hpp