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


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

rearranging symbolic variables

From yajnaval@gmail.com
Newsgroups comp.soft-sys.math.mathematica
Subject rearranging symbolic variables
Date 2012-10-06 06:07 +0000
Message-ID <k4ohql$i7f$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


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.

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web