MathGroup Archive 2009

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

Search the Archive

TransformationFunctions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg101905] TransformationFunctions
  • From: ". at ntaxa.com" <kakabomba at gmail.com>
  • Date: Wed, 22 Jul 2009 06:22:42 -0400 (EDT)

Can anyone advice why following code does not work:

In[538]:=tf[z_NonCommutativeMultiply] := -z[[2]]**z[[1]]
In[539]:=Simplify[x ** y + y ** x,TransformationFunctions -> {tf,
Automatic}]
Out[539]:=x ** y + y ** x

I expect rather 0

By the way:
In[540]:=x ** y + tf[y ** x]
Out[540]:=0


  • Prev by Date: Re: best way to save 3D plot as .eps for latex document?
  • Next by Date: Show doesn't work inside Do loop ?
  • Previous by thread: Histogram plot
  • Next by thread: Re: TransformationFunctions