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