strange behavior of tex()



On Jan 17, 2008 9:42 AM, Kostas Oikonomou <ko at research.att.com> wrote:
> Does maxima have a way other than ordergreat() to order the
> variables in a multivariate polynomial?

If canonical rational expression (CRE) form will work for you, take a
look at rat(..., var1, var2, ...) and at ratvars.  CRE form is a
polynomial of polynomials:

    p:x+x*y+y^2+1
           => y^2+x*y+x+1
    rat(p,x,y)
           => y^2+x*y+x+1
    rat(p,y,x)
           => (y+1)*x+y^2+1

Otherwise, I think you have to use ordergreat. Still, variables should
print correctly despite ordergreat.

Best,

             -s