[Maxima] assigning to a symbol
jm.suresh at gmail.com
Fri Nov 30 12:55:33 CST 2007
lhs(eq) :: rhs(eq) did the job.
On Dec 1, 2007 12:15 AM, Suresh Jeevanandam <jm.suresh at gmail.com> wrote:
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Maxima