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.
>