e2r or symb2poly takes as argument a symbolic polynomial
and either a symbolic variable name (by default x) or
a list of symbolic variable names.
e2r or symb2poly transforms the polynomial into a list
(dense representation of the univariate polynomial, coefficients
written by decreasing order) or into a sum of monomials (sparse
representation of multivariate polynomials).
Input :
^
2-1)or :
^
2-1)or :
^
2-1,y)or :
^
2-1,y)Output :
Input :
^
2-x*y+y, [x,y])or :
^
2-x*y+2*y, [x,y])Output :