MathGroup Archive 2001

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

Search the Archive

RE: Flip a rule


(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"





  • Prev by Date: Re: matrix
  • Next by Date: Re: matrix
  • Previous by thread: Re: Flip a rule
  • Next by thread: Re: Flip a rule