ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/math/ChebyshevPolynomials.hpp
(Generate patch)

Comparing trunk/OOPSE-4/src/math/ChebyshevPolynomials.hpp (file contents):
Revision 2508 by gezelter, Mon Dec 12 19:32:50 2005 UTC vs.
Revision 2759 by tim, Wed May 17 21:51:42 2006 UTC

# Line 72 | Line 72 | namespace oopse {
72       * @param x the value of the independent variable for the nth Chebyshev Polynomial  function
73       */
74          
75 <    double evaluate(int n, double x) {
75 >    RealType evaluate(int n, RealType x) {
76        assert (n <= maxPower_ && n >=0);
77        return polyList_[n].evaluate(x);
78      }
# Line 83 | Line 83 | namespace oopse {
83       * @param n
84       * @param x the value of the independent variable for the nth Chebyshev Polynomial  function
85       */
86 <    double evaluateDerivative(int n, double x) {
86 >    RealType evaluateDerivative(int n, RealType x) {
87        assert (n <= maxPower_ && n >=0);
88        return polyList_[n].evaluateDerivative(x);        
89      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines