Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*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 2001

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

Search the Archive

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"





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