naturalCubicSpline.hpp
Go to the documentation of this file.
1 #ifndef JULIAN_NATURALCUBICSPLINE_HPP
2 #define JULIAN_NATURALCUBICSPLINE_HPP
3 
5 
6 namespace julian {
7 
33  public:
35  virtual double operator()(const std::vector<double>&,const std::vector<double>&,const double&) const;
36  virtual NaturalCubicSpline* clone() const;
37  virtual unsigned int getMinSize() const;
38  virtual ~NaturalCubicSpline(){};
39  virtual std::string info() const;
40  friend class boost::serialization::access;
41  private:
44  template<class Archive>
45  void serialize(Archive & , const unsigned int){
46  boost::serialization::base_object<Interpolation>(*this);
47  }
48  };
49 }
50 
51 #endif
virtual std::string info() const
Name of a class.
Definition: naturalCubicSpline.cpp:82
void serialize(Archive &, const unsigned int)
interface used by Boost serialization library
Definition: naturalCubicSpline.hpp:45
Class implements the natural cubic spline interpolation.
Definition: naturalCubicSpline.hpp:32
Definition: cadHoliday.cpp:3
File contains interface of interpolation methods.
Class is an abstract type expressing the concept of interpolation.
Definition: interpolation.hpp:29
virtual NaturalCubicSpline * clone() const
Virtual copy constructor.
Definition: naturalCubicSpline.cpp:69
virtual unsigned int getMinSize() const
return the minimum number of points required by the interpolation
Definition: naturalCubicSpline.cpp:74
virtual double operator()(const std::vector< double > &, const std::vector< double > &, const double &) const
Performs interpolation.
Definition: naturalCubicSpline.cpp:12