Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

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

Search the Archive

Changing the variable order in commutative operators

  • To: undisclosed-recipients:;
  • Subject: [mg131341] Changing the variable order in commutative operators
  • From: "Dave Snead" <dsnead6 at charter.net>
  • Date: Sat, 29 Jun 2013 04:58:11 -0400 (EDT)
  • Approved: Steven M. Christensen <steve@smc.vnet.net>, Moderator
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net
  • Newsgroups: comp.soft-sys.math.mathematica
  • References: <20130626011529.16DE76A4A@smc.vnet.net> <20130626050451.2B33F6A55@smc.vnet.net>

Hi,

I'm trying to change the order of arguments in the output of commutative 
operators such as
Plus and Times.

For example the input
y+x+z
always gives the output
x+y+z

Is there a way to specify a user defined order on these variables
to get the output
y+x+z
instead ?

Thanks in advance,
Dave Snead 





  • Prev by Date: Re: Exploiting relationships in manipulations: example with conjugate relationship
  • Next by Date: Re: Exploiting relationships in manipulations: example
  • Previous by thread: Re: Rotate Dateticks in DateListPlot
  • Next by thread: Re: Decoupling E and I