Re: commutativity
- To: mathgroup@smc.vnet.net
- Subject: [mg11810] Re: commutativity
- From: harder@mail1.stofanet.dk (Jesper Harder)
- Date: Tue, 31 Mar 1998 02:28:29 -0500
- Organization: News Server at UNI-C, Danish Computing Centre for Research and Education.
- References: <6ek4j9$jag@smc.vnet.net>
In article <6ek4j9$jag@smc.vnet.net>, horst@cme.nist.gov says... > I would like to be able to define a rule called, say, commutativeOff > that would work as follows: > > In[1] := a*b == b*a/.commutativeOff > > Out[1] := False > > As it is, > > In[1] := a*b == b*a > > Out[1] := True > > How can I do this? > > Thanks for the help, > John Horst > Intelligent Systems Division > National Institute of Standards and Technology > Check out the NCAlgebra package, it does a lot of nice noncommutative stuff (and it's free!). You can find it at http://math.ucsd.edu/~ncalg or at MathSource. --- Jesper Harder Institute of Physics & Astronomy University of Aarhus, Denmark