Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11966 > unrolled thread

rearranging symbolic variables

Started byyajnaval@gmail.com
First post2012-10-06 06:07 +0000
Last post2012-10-06 06:07 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  rearranging symbolic variables yajnaval@gmail.com - 2012-10-06 06:07 +0000

#11966 — rearranging symbolic variables

Fromyajnaval@gmail.com
Date2012-10-06 06:07 +0000
Subjectrearranging symbolic variables
Message-ID<k4ohql$i7f$1@smc.vnet.net>
I have a group of symbolic variables that look like this

phi_1.phi_3.phi_1.phi_2 + phi_2.phi_1.phi_1.phi1 + .....

Need to rearrange the above expression such that all the (phi_1)s are on the left and all (phi_2)s are to right side of (phi_1)s but to the left of (phi_3)s i.e. REWRITE the above as

phi_1.phi_1.phi_2.phi_3 + phi_1.phi_1.phi_1.phi_2 + ....

The dots may not be necessarily multiplication, they may be just strings with a certain combination of (phi_1)s and (phi_2)s in a certain order, to be ordered in a given way.

Any help is appreciated.

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web