| 53 |
|
#include <list> |
| 54 |
|
#include <map> |
| 55 |
|
#include <utility> |
| 56 |
< |
|
| 56 |
> |
#include "config.h" |
| 57 |
|
namespace oopse { |
| 58 |
|
|
| 59 |
|
template<typename ElemType> ElemType pow(ElemType x, int N) { |
| 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 |
| 335 |
|
return true; |
| 336 |
|
} |
| 337 |
|
|
| 338 |
< |
typedef Polynomial<double> DoublePolynomial; |
| 338 |
> |
typedef Polynomial<RealType> DoublePolynomial; |
| 339 |
|
|
| 340 |
|
} //end namespace oopse |
| 341 |
|
#endif //MATH_POLYNOMIAL_HPP |