Class implements the natural cubic spline interpolation. More...
#include <naturalCubicSpline.hpp>
Public Member Functions | |
| virtual double | operator() (const std::vector< double > &, const std::vector< double > &, const double &) const |
| Performs interpolation. More... | |
| virtual NaturalCubicSpline * | clone () const |
| Virtual copy constructor. More... | |
| virtual unsigned int | getMinSize () const |
| return the minimum number of points required by the interpolation More... | |
| virtual std::string | info () const |
| Name of a class. More... | |
Public Member Functions inherited from julian::Interpolation | |
| Interpolation () | |
| Constructor. 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 implements the natural cubic spline interpolation.
A natural cubic spline is a non-local method of interpolation. The interpolant is a piecewise function build from cubic polynomial defined on each interval
for
:
For a given tabulated points
where
cubic functions
where
satisfies the conditions:
for 
for 
for 
for 


For more details see [32].
- Examples:
- interpolationExample.cpp.
Member Function Documentation
|
virtual |
Virtual copy constructor.
Method is an implementation of virtual copy constructor.
Implements julian::Interpolation.
|
virtual |
return the minimum number of points required by the interpolation
Implements julian::Interpolation.
|
virtual |
Name of a class.
Method returns string that containing information about class.
Implements julian::Interpolation.
|
virtual |
Performs interpolation.
This operator returns value of interpolant at the point x.
Implements julian::Interpolation.
|
inlineprivate |
interface used by Boost serialization library
The documentation for this class was generated from the following files:
- C:/Unix/home/OEM/jULIAN/src/mathematics/interpolation/naturalCubicSpline.hpp
- C:/Unix/home/OEM/jULIAN/src/mathematics/interpolation/naturalCubicSpline.cpp

Public Member Functions inherited from
1.8.11