Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

Flattening systems of eqns: And the winner is...



Recently I posted the following question:

>What is the  simplest way to convert a system of equations like this:
>{{a,b,...}=={c,d,...}, e==f}
>into this:
>{a==c, b==d,..., e==f}?

I've received several responses, most of which suggest some variation of
Thread and Flatten. However the _best_ response was from Jens,  who
pointed out that one can

SetAttributes[Equal,Listable]

Bravo, Jens!

:-)

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dr. Selwyn Hollis
Associate Professor of Mathematics
Armstrong Atlantic State University
Savannah, GA 31419 USA
<http://www.math.armstrong.edu/faculty/hollis/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 




  • Prev by Date: I don't understand in Mathematic
  • Next by Date: Integrate[Exp[-(1-x)^2]/Sqrt[x],{x,0,Infinity}]
  • Prev by thread: Re: I don't understand in Mathematic
  • Next by thread: Re: Flattening systems of eqns: And the winner is...