The e2r or symb2poly command converts a symbolic polynomial into a list (for single variable polynomials) or a sum of monomials.
For one variable polynomials, this is optional and defaults to x.
| e2r(x^2-1) |
or:
| symb2poly(x^2-1) |
or:
| symb2poly(y^2-1,y) |
or:
| e2r(y^2-1,y) |
|
| e2r(x^2-x*y+y,[x,y]) |
or:
| symb2poly(x^2-x*y+2*y,[x,y]) |
|