RE: Flip a rule
- To: mathgroup at smc.vnet.net
- Subject: [mg28408] RE: [mg28382] Flip a rule
- From: "Barthelet, Luc" <lucb at ea.com>
- Date: Mon, 16 Apr 2001 03:29:03 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
(e^t\[Rule]Blah)[[{2,1}]]
gives what you want.
To understand why I suggest you use FullForm[]
FullForm[ e^t->Blah]
-----Original Message-----
From: Sorry Charlie [mailto:nothanks at goaway.com]
To: mathgroup at smc.vnet.net
Subject: [mg28408] [mg28382] Flip a rule
Is there any automated way in mathematica to flip a rule?
For example, how to input this rule: "E^t -> blah" and output this one
"blah -> E^t"