| 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) { |
| 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 |