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

Comparing branches/development/src/math/Polynomial.hpp (file contents):
Revision 1665 by gezelter, Tue Nov 22 20:38:56 2011 UTC vs.
Revision 1808 by gezelter, Mon Oct 22 20:42:10 2012 UTC

# Line 159 | Line 159 | namespace OpenMD {
159       * this Polynomial.
160       * @return the coefficient associated with the given power for
161       * this Polynomial
162 <     * @exponent exponent of any term in this Polynomial
162 >     * @param exponent exponent of any term in this Polynomial
163       */
164      Real getCoefficient(ExponentType exponent) {
165        iterator i = polyPairMap_.find(exponent);
# Line 274 | Line 274 | namespace OpenMD {
274       * @return the first derivative of this polynomial
275       */
276      PolynomialType & getDerivative() {
277 <      Polynomial<Real> p();
277 >      Polynomial<Real> p;
278        
279        typename Polynomial<Real>::const_iterator i;
280        ExponentType exponent;
# Line 631 | Line 631 | namespace OpenMD {
631     */
632    template<typename Real>
633    Polynomial<Real> getDerivative(const Polynomial<Real>& p1) {
634 <    Polynomial<Real> p();
634 >    Polynomial<Real> p;
635      
636      typename Polynomial<Real>::const_iterator i;
637      int exponent;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines