MathGroup Archive 2007

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

Search the Archive

Re: expressions list -> equations list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg83973] Re: expressions list -> equations list
  • From: dh <dh at metrohm.ch>
  • Date: Thu, 6 Dec 2007 02:36:23 -0500 (EST)
  • References: <fj6404$em9$1@smc.vnet.net>


Hi Hauke,

if I understand it right, you want to get {a==,b==0,c==0} from {a,b,c}. 

For this there is Thread and MapThread. For your case:

Thread[{a,b,c}==0]

hope this helps, Daniel





Hauke Reddmann wrote:

> 1st of all THX to all who answered my last question. Just one other before

> I lend a Mathematica manual from the public lib and pester you no more :-)

> 

> So. Now that I have a tensor it must vanish identically. I Flatten[] it first

> and then I have a list of equations...oh, stop, I haven't. REDUCE (if I may

> mention the name of a competition :-) could take a Solve[] now because it 

> automatically assumes a "=0" as default but Mathematica is anally-retentive

> (a good thing :-) and I somehow must turn {a,b,c} into {a=0,b=0,c=0}.

> Convert to string, global change "," -> "=0," and "}" -> "=0}", reconvert

> to list? Is that possible? Or is there a less LISP-hack-style solution?

> 




  • Prev by Date: Re: expressions list -> equations list
  • Next by Date: Re: slot argument weirdness
  • Previous by thread: Re: expressions list -> equations list
  • Next by thread: Re: expressions list -> equations list