MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Q: lefthand/right hand side of equation


robert.schuerhuber at gmx.at writes:
========
hello!
maybe a rather simple question:

if i have an equation, how can i get the left/right hand side?

e.g.

eqn={a+b==c+d};

i'd like to get something like:
l=a+b
r=c+d
=========
This will work:

eqn=a+b==c+d
{l,r}=eqn/.(Equal->List}

    ==

Hugh Walker
Gnarly Oaks




  • Prev by Date: Re:Extracting the name of a variable
  • Next by Date: Re: Q: lefthand/right hand side of equation
  • Previous by thread: Re: Q: lefthand/right hand side of equation
  • Next by thread: Re: Q: lefthand/right hand side of equation