|
template<class C , class O > |
void | neg_exponent (dual< C, O > &p) |
|
template<class C , class O > |
void | add (dual< C, O > &res, const dual< C, O > &a, const dual< C, O > &b) |
|
template<class C , class O > |
void | add (dual< C, O > &res, const dual< C, O > &a, const C &b) |
|
template<class C , class O > |
void | add (dual< C, O > &res, const C &b, const dual< C, O > &a) |
|
template<class C , class O > |
void | sub (dual< C, O > &res, const dual< C, O > &a, const dual< C, O > &b) |
|
template<class C , class O > |
void | sub (dual< C, O > &res, const dual< C, O > &a, const C &b) |
|
template<class C , class O > |
void | sub (dual< C, O > &res, const C &a, const dual< C, O > &b) |
|
template<class C , class O > |
void | mul (dual< C, O > &res, const dual< C, O > &a, const dual< C, O > &b) |
|
template<class C , class O > |
void | mul (dual< C, O > &res, const dual< C, O > &a, const C &b) |
|
template<class C , class O > |
void | mul (dual< C, O > &res, const C &b, const dual< C, O > &a) |
|
template<class C , class O > |
void | mul (dual< C, O > &res, const monomial_seq< C, O > &p, const dual< C, O > &l) |
|
template<class C , class O > |
void | mul (monomial_seq< C, O > &res, const dual< C, O > &l, const monomial_seq< C, O > &p) |
|
template<class C , class O > |
void | div (dual< C, O > &f, const C &c) |
|
template<class C , class O > |
void | div (dual< C, O > &r, const dual< C, O > &p, const C &c) |
|
template<class X > |
bool | with_plus_sign (const X &x) |
|
template<class OSTREAM , class C > |
OSTREAM & | print_dual (OSTREAM &os, const monom< C > &m, const variables &V) |
|
template<class OSTREAM , class C , class O > |
OSTREAM & | print (OSTREAM &os, const dual< C, O > &P, const variables &V) |
| Output operator. More...
|
|
TMPL void | add (Polynomial &result, const Polynomial &p1, const Polynomial &p2) |
|
TMPL void | add (Polynomial &p1, const Polynomial &p2) |
| Inplace addition. More...
|
|
template<class C , class O , class MONOM , class REP , class I , class J , class M > |
I | add (Polynomial &p1, I b1, J e1, const M &m2) |
|
TMPL void | add (Polynomial &p, const typename Polynomial::monom_t &m) |
|
TMPL void | add (Polynomial &p, const C &c) |
|
TMPLX void | add (Polynomial &r, const Polynomial &q, const X &c) |
|
TMPL void | add (Polynomial &r, const C &c, const Polynomial &q) |
|
TMPL void | sub (Polynomial &result, const Polynomial &p1, const Polynomial &p2) |
|
TMPL void | sub (Polynomial &p, const Polynomial &q) |
|
TMPLX void | sub (Polynomial &r, const Polynomial &q, const X &c) |
|
TMPLX void | sub (Polynomial &r, const X &c, const Polynomial &q) |
|
TMPL void | mul (Polynomial &r, const C &c) |
| Multiplication of a polynomial by a monomial or a scalar. More...
|
|
TMPL void | mul (Polynomial &r, const Polynomial &p, const C &c) |
|
TMPLX void | mul (Polynomial &r, const X &c, const Polynomial &p) |
|
template<class C , class O , class MONOM , class REP , class M > |
void | mul_ext (Polynomial &r, const Polynomial &a, const M &m) |
| Multiplication of a polynomial by a monomial or a scalar. More...
|
|
TMPL void | mul (Polynomial &r, const Polynomial &a, const typename Polynomial::monom_t &m) |
| Multiplication of a polynomial by a monomial or a scalar. More...
|
|
TMPL void | mul (Polynomial &r, const typename Polynomial::monom_t &m) |
| Multiplication of a polynomial by a monomial or a scalar. More...
|
|
template<class C , class O , class MONOM , class REP , class M > |
void | mul_ext_e (Polynomial &result, const Polynomial &a, const M &m) |
|
TMPL void | mul (Polynomial &r, const Polynomial &a, const Polynomial &b) |
| Multiplication of two polynomials. More...
|
|
TMPLX void | mul (Polynomial &r, const Polynomial &a, const Polynomial &b, const X &o) |
| Specialisation for list. More...
|
|
TMPL void | mul_iterator (Polynomial &r, typename Polynomial::const_iterator b, typename Polynomial::const_iterator e, const Polynomial &p) |
|
TMPL void | mul (Polynomial &r, const Polynomial &p) |
|
TMPL void | div (Polynomial &q, const Polynomial &a, const Polynomial &b) |
|
TMPL void | div (Polynomial &r, const Polynomial &b) |
|
TMPL void | div (Polynomial &f, const typename Polynomial::Scalar &c) |
|
TMPL void | div (Polynomial &r, const Polynomial &p, const C &c) |
|
TMPL void | rem (Polynomial &r, const Polynomial &a, const Polynomial &b) |
|
template<class C , class O , class MONOM , class REP , class U > |
void | coefficients (Seq< U > &r, const Polynomial &f, int v) |
|
TMPL void | coefficients (Seq< C > &r, const Polynomial &f) |
|
template<class R > |
int | lvar (const R &p) |
| Index of the leading variable (of maximal index) of a polynomial. More...
|
|
template<class R > |
unsigned | nbvar (const R &p) |
| Number of variables of a polynomial. More...
|
|
template<class R > |
int | degree (const R &p) |
| Degree of a polynomial. More...
|
|
template<class R > |
int | degree (const R &p, int i) |
| Degree of a polynomial with respect to the i th variable.. More...
|
|
template<class R > |
R::coeff_t & | leadingcoeff (R &a) |
|
template<class R > |
R::coeff_t | leadingcoeff (const R &a) |
|
template<class POL > |
POL::coeff_t | coeffof (const POL &p, const typename POL::monom_t &mono) |
|
template<class POL > |
POL::const_iterator | last_term (const POL &p) |
|
template<class R > |
void | div_rem (R &q, R &a, const R &b0) |
| Divide a in place by b , concidering all the monomials. More...
|
|
TMPL void | diff (Polynomial &r, const Polynomial &p, int i) |
| Derivative of p with respect to i th variable put in r . More...
|
|
TMPL void | shift (Polynomial &r, const Polynomial &p, const typename Polynomial::monom_t &m) |
| Multiply p by a monomial m and put the result in r . More...
|
|
TMPL void | copy (Polynomial &r, const Polynomial &a) |
| Copy of a in r . More...
|
|
TMPL Polynomial::coeff_t | eval (const Polynomial &p, const typename Polynomial::coeff_t &x, const typename Polynomial::coeff_t &y) |
| Evaluate the polynomial p for x0=x , x1=y , and the other xi=1 . More...
|
|
template<class C , class O , class MONOM , class REP , class R , class VCT > |
void | eval_at (R &r, const Polynomial &p, const VCT &x) |
|
template<class R , class C , class O , class MONOM , class REP , class X > |
void | eval (R &r, const Polynomial &p, const X &x) |
| Evaluate the polynomial p for x0=x , x1=y , and the other xi=1. **/. More...
|
|
TMPL void | homogenize (Polynomial &r, const Polynomial &p, const Polynomial &v) |
|
TMPL void | homogenize (Polynomial &r, const Polynomial &p, int n, const Polynomial &v) |
|
template<class MP > |
MP | convert (const MP &P, typename MP::coeff_t x, typename MP::coeff_t y, int ind) |
|
template<class C , class O , class MONOM , class REP , class VARIABLES > |
std::string | to_string (const Polynomial &P, const VARIABLES &V) |
|
template<class OS , class C , class O , class MONOM , class REP , class VARIABLES > |
OS & | print (OS &os, const Polynomial &P, const VARIABLES &V) |
|
template<class OS , class C , class O , class MONOM , class REP , class VARIABLES > |
OS & | print_as_double (OS &os, const Polynomial &P, const VARIABLES &V) |
|
template<class OS , class C , class O , class MONOM , class REP > |
OS & | print (OS &os, const Polynomial &P) |
|
template<class OS , class C , class O , class MONOM , class REP > |
OS & | print_verbatim (OS &os, const Polynomial &P) |
|
template<class POL , class C > |
POL | shift (typename POL::const_iterator monom, const C &a, int i) |
|
template<class POL , class C > |
POL | scale (const POL &p, C a, int v) |
|
template<class T , class MP , class V > |
T | eval (const MP &p, const V &v) |
|
template<class R , class MP , class V > |
void | eval (R &r, const MP &p, const V &v, unsigned n) |
|
template<class MP , class X > |
MP | subs (unsigned var, const X &val, const MP &P) |
|
template<class MP > |
MP | subs (const MP &P, int var, typename MP::coeff_t val) |
|
template<class MP > |
MP | subs (const MP &P, char *x, typename MP::coeff_t val) |
|
template<class T > |
void | print (const T &x) |
|
template<class MP > |
MP | swap (const MP &P, int var_i, int var_j) |
|
template<class MP > |
MP | swap (const MP &P, char *x_i, char *x_j) |
|
template<class C , class O , class MONOM , class REP > |
C | content (const Polynomial &P) |
|