extracting values from equations



On 10/19/07, Ruben Henner Zilibowitz <rzilibowitz at yahoo.com.au> wrote:

> I have a list of results from a function call in the following form:
> [x=1,x=2,...,x=53] and I want to get a list of just the numbers by
> themselves without having to manually get them by hand. That is I
> wish to get the list [1,2,...,53]. What is the best way to achieve
> this in maxima?

Ruben, try this. Assuming your list of equations is L,

map (rhs, L);

rhs => right-hand side of an equation
map => apply a function to each element of a list

Hope this helps,

Robert Dodier