ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/math/CubicSpline.hpp
(Generate patch)

Comparing branches/development/src/math/CubicSpline.hpp (file contents):
Revision 1876 by gezelter, Wed Feb 20 15:39:39 2013 UTC vs.
Revision 1877 by gezelter, Thu Jun 6 15:43:35 2013 UTC

# Line 56 | Line 56 | namespace OpenMD {
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();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines