Previous Up Next

11.1.4  Converting to a symbolic polynomial

The r2e or poly2symb command converts lists into symbolic polynomials.

.

Examples

r2e([1,0,-1],x)

or:

r2e([1,0,-1])

or:

poly2symb([1,0,-1],x)
     
x x−1           
poly2symb(%%%{1,[2]%%%}+%%%{-1,[0]%%%},[x])

or:

r2e(%%%{1,[2]%%%}+%%%{-1,[0]%%%},[x])
     
x2−1           
r2e(%%%{1,[2,0]%%%}+%%%{-1,[1,1]%%%}+%%%{2,[0,1]%%%},[x,y])

or:

poly2symb(%%%{1,[2,0]%%%}+%%%{-1,[1,1]%%%}+%%%{2,[0,1]%%%},[x,y])
     
x2x y+2 y           

Previous Up Next