# [Maxima] operations on polynomial expressions

Andrej Vodopivec andrej.vodopivec at gmail.com
Tue Dec 19 11:55:49 CST 2006

```Hi,

try with the cvs version (
http://maxima.cvs.sourceforge.net/*checkout*/maxima/maxima/share/contrib/format/coeflist.lisp?revision=1.5
). I think the fix will be included in 5.11.
There is also a nice manual for the format package
http://maxima.cvs.sourceforge.net/*checkout*/maxima/maxima/share/contrib/format/format.ps?revision=1.1
.

HTH,
Andrej

On 12/19/06, Fabrizio Caruso <caruso at dm.unipi.it> wrote:
> Hi
>
> load(coeflist) produces the following error:
> "
> /usr/share/maxima/5.10.0/share/contrib/format/coeflist.lisp
>  -- an error.  Quitting.  To debug this try debugmode(true);
> "
> I am using Maxima 5.10.0 and clisp.
> Note: gcl does not let me call functions with a
> high number of arguments.
>
> My original problem was to write a multivariate polynomial
> as a sum of monomials with coefficients free of the variables.
>
>   Fabrizio
>
> On Sat, 25 Nov 2006, Andrej Vodopivec wrote:
>
> > Also load the coeflist package:
> >
> > (%i3) a*(x+y+z)^2 + b*(x-y-z)^2;
> > (%o3) a*(z+y+x)^2+b*(-z-y+x)^2
> > (%i4) format(%, %poly(x,y,z));
> > (%o4) (b+a)*z^2+(2*b+2*a)*y*z+(2*a-2*b)*x*z+(b+a)*y^2+(2*a-2*b)*x*y+(b+a)*x^2
> >
> > Andrej
> >
> > On 11/25/06, Chris Sangwin <sangwinc at for.mat.bham.ac.uk> wrote:
> > >
> > > Fabrizio,
> > >
> > > I suggest you look at the "format" package.  It is useful for these kinds
> > > of manipulations.
> > >
> > >
> > > There is some documentation online at
> > >
> > > http://matsrv3.bham.ac.uk/scripts/maxima/format/format.pdf
> > >
> > > (I can't find it in the "proper" place, sorry!)
> > >
> > > Chris
> >
>
>
```