cubicInterpolation.hpp
Go to the documentation of this file.
1 #ifndef JULIAN_CUBICINTERPOLATION_HPP
2 #define JULIAN_CUBICINTERPOLATION_HPP
3 
5 
6 namespace julian {
26  public:
28  virtual double operator()(const std::vector<double>&,const std::vector<double>&,const double&) const;
29  virtual CubicInterpolation* clone() const;
30  virtual ~CubicInterpolation(){};
31  virtual std::string info() const;
32  virtual unsigned int getMinSize() const;
33  friend class boost::serialization::access;
34  private:
35 
38  template<class Archive>
39  void serialize(Archive & , const unsigned int){
40  boost::serialization::base_object<Interpolation>(*this);
41  }
42  };
43 }
44 #endif
Definition: cadHoliday.cpp:3
Class implements the cubic local interpolation technique.
Definition: cubicInterpolation.hpp:25
virtual double operator()(const std::vector< double > &, const std::vector< double > &, const double &) const
Performs interpolation.
Definition: cubicInterpolation.cpp:11
File contains interface of interpolation methods.
Class is an abstract type expressing the concept of interpolation.
Definition: interpolation.hpp:29
virtual unsigned int getMinSize() const
return the minimum number of points required by the interpolation
Definition: cubicInterpolation.cpp:38
virtual CubicInterpolation * clone() const
Virtual copy constructor.
Definition: cubicInterpolation.cpp:33
void serialize(Archive &, const unsigned int)
interface used by Boost serialization library
Definition: cubicInterpolation.hpp:39
virtual std::string info() const
Name of a class.
Definition: cubicInterpolation.cpp:46