[Maxima] pick solutions

Stavros Macrakis macrakis at alum.mit.edu
Mon Jun 11 14:29:52 CDT 2007


map(rhs,a)

On 6/11/07, Thomas Widlar <twidlar at yahoo.com> wrote:
>
>  A beginner's question. Say I obtain a list *a* of solutions for *x*., e.g
> .
>
> (%i19) a : solve(x^4-1);
> (%o19) [x=%i,x=-1,x=-%i,x=1]
>
> How do I process *a* into a list *b* : [%i,-1,-%i,1] so I can say
>
>   for x in b do something(x);
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.math.utexas.edu/pipermail/maxima/attachments/20070611/43b50ead/attachment.htm 


More information about the Maxima mailing list