flatBackward.hpp
Go to the documentation of this file.
1 #ifndef JULIAN_FLATBACKWARD_HPP
2 #define JULIAN_FLATBACKWARD_HPP
3 
5 
6 namespace julian {
25  class FlatBackward: public Interpolation {
26  public:
27  FlatBackward(){};
28  virtual double operator()(const std::vector<double>&,const std::vector<double>&,const double&) const;
29  virtual FlatBackward* clone() const;
30  virtual std::string info() const;
31  virtual unsigned int getMinSize() const;
32  virtual ~FlatBackward(){};
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 
45 #endif
virtual std::string info() const
Name of a class.
Definition: flatBackward.cpp:43
virtual double operator()(const std::vector< double > &, const std::vector< double > &, const double &) const
Performs interpolation.
Definition: flatBackward.cpp:13
Definition: cadHoliday.cpp:3
File contains interface of interpolation methods.
virtual FlatBackward * clone() const
Virtual copy constructor.
Definition: flatBackward.cpp:30
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: flatBackward.cpp:35
void serialize(Archive &, const unsigned int)
interface used by Boost serialization library
Definition: flatBackward.hpp:39
Class implements the flat backward interpolation technique.
Definition: flatBackward.hpp:25