|
| template<typename Real> |
| Poly< Real > | operator+ (const Poly< Real > &p_1, const Poly< Real > &p_2) |
| | Define the sum between two polynomials.
|
| template<typename Real> |
| Poly< Real > | operator+ (const Poly< Real > &p, Real s) |
| | Define the sum between a polynomial and a scalar.
|
| template<typename Real> |
| Poly< Real > | operator+ (Real s, const Poly< Real > &p) |
| | Define the sum between a polynomial and a scalar.
|
| template<typename Real> |
| Poly< Real > | operator- (const Poly< Real > &p_1, const Poly< Real > &p_2) |
| | Define the difference between two polynomials.
|
| template<typename Real> |
| Poly< Real > | operator- (const Poly< Real > &p, Real s) |
| | Define the difference between a scalar and a polynomial.
|
| template<typename Real> |
| Poly< Real > | operator- (Real s, const Poly< Real > &p) |
| | Define the difference between a scalar and a polynomial.
|
| template<typename Real> |
| Poly< Real > | operator* (const Poly< Real > &p_1, const Poly< Real > &p_2) |
| | Define the multiplication between two polynomials.
|
| template<typename Real> |
| Poly< Real > | operator* (Real p, const Poly< Real > &s) |
| | Define the multiplication between a scalar and a polynomial.
|
| template<typename Real> |
| Poly< Real > | operator* (const Poly< Real > &s, Real p) |
| | Define the multiplication between a scalar and a polynomial.
|
| template<typename Real> |
| void | divide (const Poly< Real > &p_1, const Poly< Real > &p_2, Poly< Real > &q, Poly< Real > &r) |
| | Divide the polynomial.
|
| template<typename Real> |
| void | 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 & | operator<< (std::ostream &os, const Poly< Real > &p) |
| | Print the polynomial on an output stream.
|
| template<typename Real> |
| std::ostream & | operator<< (std::ostream &os, const Sequence< Real > &s) |
| | Print the Sturm sequence on an output stream.
|
This namespace contains all the classes and functions of the Sturm library for the computation of the Sturm sequences and the greatest common divisor polynomials. Other basic functions to manipulate polynomials and sequences are also included.