MathGroup Archive 2002

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

Search the Archive

Expanding expressions with Dot, Times and Plus

  • To: mathgroup at smc.vnet.net
  • Subject: [mg35501] Expanding expressions with Dot, Times and Plus
  • From: "JL" <jl at aol.com>
  • Date: Tue, 16 Jul 2002 04:50:16 -0400 (EDT)
  • Organization: University of Pittsburgh
  • Sender: owner-wri-mathgroup at wolfram.com

I am trying to expand a large expression that has terms that look as

follows:

-ex[0,1].(ex[0,1].ex[1,2]-ex[1,2].ex[0,1])

where ex[i,j] are unevaluated expressions. I would like Mathematica to
simplify this and analogous expressions so that they read:

ex[0,1].ex[1,2].ex[0,1]-ex[0,1].ex[0,1].ex[1,2]

However, I cannot seem to find anything that will work. The problem is that
I need to keep track of the order of the expressions ex[i,j]. If Dot were
replaced by Times, there would be no problem whatsoever.

If anyone knows how to help me with this problem, I would greatly appreciate
it.

Thanks,

Jeremy Levy

jlevy at pitt.edu





  • Prev by Date: Traveling Salesman
  • Next by Date: simplifying operator experessions with Dot, Times and Plus
  • Previous by thread: Re: Traveling Salesman
  • Next by thread: RE: Expanding expressions with Dot, Times and Plus