Tag Info

New answers tagged

0

The following, based on the post 'Non-Commutative Sorting in Mathematica', works well. I redefined the operator product so that it produces another object with head op and then generalized the definition of the action of these op objects. op[x__] ** op[y__] ^:= op[x, y] op[a] * fv[y__] ^:= a[fv[y]]; op[x__, a] * fv[y__] ^:= op[x]*a[fv[y]]; ...and similarly ...



Top 50 recent answers are included