# [Maxima] operations on polynomial expressions

Fabrizio Caruso caruso at dm.unipi.it
Tue Dec 19 10:59:49 CST 2006

```Hi

load(coeflist) produces the following error:
"
Load failed for
/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:
>
> (%i1) load(format)\$
> (%i2) load(coeflist)\$
> (%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.
> >
> > load("format");
> >
> > 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
>
```

More information about the Maxima mailing list