|
| template<typename Real> |
| Poly< Real > | Sturm::operator+ (const Poly< Real > &p_1, const Poly< Real > &p_2) |
| | Define the sum between two polynomials.
|
| template<typename Real> |
| Poly< Real > | Sturm::operator+ (const Poly< Real > &p, Real s) |
| | Define the sum between a polynomial and a scalar.
|
| template<typename Real> |
| Poly< Real > | Sturm::operator+ (Real s, const Poly< Real > &p) |
| | Define the sum between a polynomial and a scalar.
|
| template<typename Real> |
| Poly< Real > | Sturm::operator- (const Poly< Real > &p_1, const Poly< Real > &p_2) |
| | Define the difference between two polynomials.
|
| template<typename Real> |
| Poly< Real > | Sturm::operator- (const Poly< Real > &p, Real s) |
| | Define the difference between a scalar and a polynomial.
|
| template<typename Real> |
| Poly< Real > | Sturm::operator- (Real s, const Poly< Real > &p) |
| | Define the difference between a scalar and a polynomial.
|
| template<typename Real> |
| Poly< Real > | Sturm::operator* (const Poly< Real > &p_1, const Poly< Real > &p_2) |
| | Define the multiplication between two polynomials.
|
| template<typename Real> |
| Poly< Real > | Sturm::operator* (Real p, const Poly< Real > &s) |
| | Define the multiplication between a scalar and a polynomial.
|
| template<typename Real> |
| Poly< Real > | Sturm::operator* (const Poly< Real > &s, Real p) |
| | Define the multiplication between a scalar and a polynomial.
|
| template<typename Real> |
| void | Sturm::divide (const Poly< Real > &p_1, const Poly< Real > &p_2, Poly< Real > &q, Poly< Real > &r) |
| | Divide the polynomial.
|
| template<typename Real> |
| void | Sturm::GCD (const Poly< Real > &p_1, const Poly< Real > &p_2, Poly< Real > &gcd, Real eps=Poly< Real >::EPSILON) |
| | Compute the greatest common divisor of two polynomials.
|
| template<typename Real> |
| std::ostream & | Sturm::operator<< (std::ostream &os, const Poly< Real > &p) |
| | Print the polynomial on an output stream.
|