[Maxima] assigning to a symbol

Suresh Jeevanandam jm.suresh at gmail.com
Fri Nov 30 12:55:33 CST 2007


Got it:
 lhs(eq) :: rhs(eq) did the job.

regards,
Suresh

On Dec 1, 2007 12:15 AM, Suresh Jeevanandam <jm.suresh at gmail.com> wrote:

> Hi,
>  I have a set of equations, which I solve using solve, and store the
> result into a list . Now, I iterate through this list and want to assign the
> solution value to the unknown variable name.
>
> eq : x = a+b; Lets say this one of the solutions returned.
>
> lhs(eq) : rhs(eq); Does not work. Throws an error.
>
> Is there any function like assign(lhs(eq), rhs(eq)) to the values ?
>
> Thanks in advance.
>
> regards,
> Suresh.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.math.utexas.edu/pipermail/maxima/attachments/20071201/23c117e4/attachment.htm 


More information about the Maxima mailing list