|
template<class R > |
int | degree (const R &p) |
|
TMPL int | degree (const Polynomial &a) |
|
TMPL int | check_degree (Polynomial &a) |
|
TMPL void | add (Polynomial &r, const Polynomial &a, const Polynomial &b) |
|
TMPL void | add (Polynomial &r, const Polynomial &a, const C &c) |
|
TMPL void | add (Polynomial &r, const C &c) |
|
TMPL void | add (Polynomial &r, const Polynomial &a) |
|
TMPL void | sub (Polynomial &r, const Polynomial &a, const Polynomial &b) |
|
TMPL void | sub (Polynomial &r, const Polynomial &a) |
|
TMPL void | sub (Polynomial &r, const Polynomial &a, const C &c) |
|
TMPLX void | sub (Polynomial &r, const Polynomial &a, const X &x) |
|
TMPL void | sub (Polynomial &r, const C &c) |
|
TMPL void | mul (Polynomial &r, const Polynomial &a, const Polynomial &b) |
|
TMPL void | mul (Polynomial &r, const C &c) |
| Multiplication of a polynomial by a monomial or a scalar. More...
|
|
TMPL void | mul (Polynomial &a, const Polynomial &b) |
| Multiplication of a polynomial by a polynomial;. More...
|
|
TMPL void | mul (Polynomial &r, const Polynomial &p, const C &c) |
|
TMPL void | shift (Polynomial &r, const Polynomial &p, int d, int v=0) |
|
TMPL void | div (Polynomial &r, const Polynomial &a, const Polynomial &b) |
|
TMPL void | div (Polynomial &r, const Polynomial &b) |
|
TMPL void | div (Polynomial &r, const C &c) |
|
template<class R > |
R::value_type | lcoeff (const R &p) |
|
template<class R > |
R::value_type | tcoeff (const R &p) |
|
template<class OSTREAM , class C > |
OSTREAM & | print_as_coeff (OSTREAM &os, const C &c, bool plus) |
|
template<class OSTREAM , class C , class VAR > |
OSTREAM & | print (OSTREAM &os, const Polynomial &p, const VAR &var) |
|
template<class OSTREAM , class C > |
OSTREAM & | print (OSTREAM &os, const Polynomial &p) |
|
template<class R , class C > |
void | set_monomial (R &x, const C &c, unsigned n) |
|
template<class R , class S > |
void | add_cst (R &r, const S &c) |
|
template<class R , class S > |
void | sub_cst (R &r, const S &c) |
|
template<class R > |
void | mul_index (R &r, const R &a, const R &b) |
|
template<class R > |
void | mul_index_it (R &r, const R &a, const R &b) |
|
template<class R > |
void | mul (R &a, const R &b) |
|
template<class R > |
void | mul_index (R &a, const R &b) |
|
template<class C , class R > |
C | eval_horner (const R &p, const C &c) |
|
template<class C , class R > |
C | eval_horner_idx (const R &p, const C &c) |
|
template<class C , class R > |
C | eval (const R &p, const C &c) |
|
template<class C , class R > |
C | eval_homogeneous (const R &p, const C &a, const C &b) |
|
template<typename POL , typename X > |
int | sign_at (const POL &p, const X &x) |
|
template<class R > |
void | div_rem (R &q, R &a, const R &b) |
|
template<class R > |
void | checkdegree (R &p) |
|
template<class R > |
R | diff (const R &p) |
|
template<class R > |
void | reciprocal (R &w, const R &p) |
|
template<class R > |
void | reverse (R &p, typename R::size_type n) |
|
template<class R > |
R::value_type | derive (const R p, typename R::value_type x) |
|
template<class R > |
void | reduce (R &p, const typename R::size_type &e) |
|
template<class R , class C > |
void | scale (R &t, const R &p, const C &l) |
|
template<class R > |
void | diff (R &r, const R &p) |
|
template<class T > |
void | reduce (T &p, const typename T::size_type &e) |
|
template<class T > |
void | reverse (T &p, int n) |
|
template<class O , class R , class I > |
void | eval (O &p, O &dp, const R &Pol, const I &x) |
|
template<class R > |
R::value_type | derive (const R &Pol, const typename R::value_type &x) |
|
template<class R , class C > |
void | shift (R &p, const C &c) |
|
template<class R , class C > |
void | shift (R &r, const R &p, const C &x0) |
|
template<class R , class C > |
void | inv_scale (R &r, const R &p, const C &l) |
|
template<class T , class P , class C > |
void | convertm2b (T &bz, const P &p, unsigned size, const C &a, const C &b) |
|
template<class R > |
void | coeff_modulo (R &r, const typename R::value_type &x) |
|
template<class S , class R > |
S | numer (const R &f) |
|
Module for Univariate POLynomials with a Direct Access Representation.
It contains generic implementations on univariate (dense) polynomials. This set of functions apply when R
provides the following methods or definitions:
typename R::value_type;
typename R::size_type;
typename R::iterator;
typename R::reverse_iterator;
iterator_t R::begin();
iterator_t R::end();
value_type R::operator[](int);