MathGroup Archive 1998

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

Search the Archive

Re: commutativity



John Albert Horst wrote:
> 
> 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?

Hi everyone,
I just can give a hint:
You could define a function in terms of Times that does not have the
attribute "Orderless" that Times has. (to see this, use the
Attribute-function...)

Bye
Clemens



  • Prev by Date: RE: Re: Introducing: Conix 3D Explorer!
  • Next by Date: Re: Problems ....
  • Prev by thread: commutativity
  • Next by thread: RE: commutativity