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

Comparing trunk/src/math/Polynomial.hpp (file contents):
Revision 876 by tim, Mon Jan 30 22:25:27 2006 UTC vs.
Revision 883 by tim, Thu Feb 2 17:14:15 2006 UTC

# Line 204 | Line 204 | namespace oopse {
204          for (i =  p.begin(); i  != p.end(); ++i) {
205            this->addCoefficient(i->first, -i->second);
206          }        
207 +        return *this;
208      }
209  
210      PolynomialType& operator *= (const PolynomialType& p) {
# Line 310 | Line 311 | namespace oopse {
311  
312    /**
313     * Tests if two polynomial have the same exponents
314 <   * @return true if these all of the exponents in these Polynomial are identical
314 >   * @return true if all of the exponents in these Polynomial are identical
315     * @param p1 the first polynomial
316     * @param p2 the second polynomial
317     * @note this function does not compare the coefficient

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines