extracting the monomials from a multivariable polynomial
Subject: extracting the monomials from a multivariable polynomial
From: Stavros Macrakis
Date: Mon, 28 Jan 2008 11:55:48 -0500
On Jan 28, 2008 12:19 AM, S. Newhouse <sen1 at math.msu.edu> wrote:
> Modifying your monomials(p,vars) to monomials(p.listofvars(p)) seems to
> do exactly what I wanted. It seems a bit strange that this is not a
> standard function in maxima.
>
Well, Maxima has a variety of ways of analyzing and reorganizing
polynomials, including rat (and ratvars), ratcoeff, coeff, factor (with
facexpand on or off), horner, etc. I suppose 'monomials' or
'list_monomials' (analogous to list_nc_monomials) could easily be added to
the facexp package if it's generally useful.
-s