Class implements the AKIMA interpolation technique. More...

#include <akima.hpp>

Inheritance diagram for julian::AKIMA:
julian::Interpolation

Public Member Functions

virtual double operator() (const std::vector< double > &, const std::vector< double > &, const double &) const
 Performs interpolation. More...
 
virtual AKIMAclone () const
 Virtual copy constructor. More...
 
virtual std::string info () const
 Name of a class. More...
 
virtual unsigned int getMinSize () const
 return the minimum number of points required by the interpolation 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 AKIMA interpolation technique.

Akima interpolation is similar to cubic spline interpolation. The difference is that the discrete derivatives (slopes) are modified to produce a positivity-preserving interpolant.

akima_interpolation.png

For detailed description see [2] [10] [32]

Precondition
More than 4 points needed.
Remarks
Class uses AKIMA algorithm implemented in GSL
Examples:
bootstrapperComparison.cpp, and interpolationExample.cpp.

Member Function Documentation

AKIMA * julian::AKIMA::clone ( ) const
virtual

Virtual copy constructor.

Method is an implementation of virtual copy constructor.

Implements julian::Interpolation.

int unsigned julian::AKIMA::getMinSize ( ) const
virtual

return the minimum number of points required by the interpolation

Implements julian::Interpolation.

std::string julian::AKIMA::info ( ) const
virtual

Name of a class.

Method returns string that containing information about class.

Implements julian::Interpolation.

double julian::AKIMA::operator() ( const std::vector< double > &  x,
const std::vector< double > &  y,
const double &  x_int 
) const
virtual

Performs interpolation.

Implements julian::Interpolation.

template<class Archive >
void julian::AKIMA::serialize ( Archive &  ,
const unsigned  int 
)
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/akima.hpp
  • C:/Unix/home/OEM/jULIAN/src/mathematics/interpolation/akima.cpp