| 56 | 
  | 
    virtual ~CubicSpline() {}  | 
| 57 | 
  | 
    void addPoint(const RealType xp, const RealType yp); | 
| 58 | 
  | 
    void addPoints(const vector<RealType>& xps, const vector<RealType>& yps); | 
| 59 | 
< | 
    RealType getValueAt(RealType t); | 
| 60 | 
< | 
    pair<RealType, RealType> getValueAndDerivativeAt(RealType t); | 
| 59 | 
> | 
    RealType getValueAt(const RealType& t); | 
| 60 | 
> | 
    pair<RealType, RealType> getValueAndDerivativeAt(const RealType& t); | 
| 61 | 
> | 
    void getValueAt(const RealType& t, RealType& v); | 
| 62 | 
> | 
    void getValueAndDerivativeAt(const RealType& t, RealType& v, RealType& d); | 
| 63 | 
  | 
     | 
| 64 | 
  | 
  private: | 
| 65 | 
  | 
    void generate(); |