You might want to look at the documentation for rat (? rat) and the
facexp package (?? facexp). To write your own symbolic routines for
this sort of thing, you might want to look at the ratcoef and divide
routines. Let us know what you found useful, annoying, or
incomplete....
-s
> ... how can I ask maxima to decompose f as:
> g1(mu, gamma) * x**2 + g2(mu, gamma) * x + g3(mu, gamma)
etc.