[Maxima] extracting al the atoms from an expression
macrakis at alum.mit.edu
Wed Dec 19 13:34:00 CST 2007
Check the documentation for listofvars. This does not include all atoms, but
all *variables*. Thus listofvars(a^2/b) returns [a,b], not [a,1,2,b].
On Dec 19, 2007 1:41 PM, S. Newhouse <sen1 at math.msu.edu> wrote:
> Is there a simple way to extract all of the atoms from an expression,
> say as a list?
> For instance, suppose we have the expression p: a*x^2*y^3 +b*x*y
> I would like to extract as a list: [a,x,y,b]
> Maxima mailing list
> Maxima at math.utexas.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Maxima