[Date Index] [Thread Index] [Author Index]
ordering a group of symbolic operators
Appreciate any help with the following (newbie to Mathemtica) I have a following expression, consisting of groups/strings of symbolic operators phi_c.delta_a.phi_b.delta_c + delta_c.phi_c.delta_f.phi_c + ... Need to rearrange the above such that all the phi-s are on the left and all the deltas are on the right, i.e. REWRITE the above as phi_c.phi_b.delta_a.delta_c + phi_c.phi_c.delta_c.delta_f + .... The order of the (phi)s i.e. whether phi_c is to the left of phi_b doesn't matter, but all the (phi)s must be towards the left of all (delta)s in each string. Please note that the (dots) are not necessarily multiplication.