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