7 #include "polynomial.h"
11 polynomial::polynomial(void)
15 polynomial::polynomial(ex
&e
)
20 polynomial::polynomial(const ex
&e
)
26 polynomial
& polynomial::operator=(ex
&e
)
28 *this = polynomial::polynomial(e
);
34 // term i of the polynomial
35 ex
polynomial::term(unsigned int i
)
41 if(this->nops() == 0) {
48 // number of terms in the polynomial
49 unsigned int polynomial::nbTerms(void)
56 if(this->nops() == 0) {