MathGroup Archive 2004

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

Search the Archive

Re: Question about Hold

  • To: mathgroup at
  • Subject: [mg48820] Re: Question about Hold
  • From: Jens-Peer Kuska <kuska at>
  • Date: Fri, 18 Jun 2004 02:12:42 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <carjrn$r76$>
  • Reply-to: kuska at
  • Sender: owner-wri-mathgroup at


Commute[a, b] := c
Commute[a^n_, b] := Commute[a^(n - 1), Commute[a, b]]


Daohua Song wrote:
> Hi,evryone,
>     I define a commute relation for quantum operators,i fact i learn this
> from the forum.Here is the problem.
>     Commute[A,B]=C.
>     Commute[A^2,B], i try to use Hold[A*A] instead of A^2, then mathematica
> even won't evaluate it.!
>     Any suggestion to work on the power commutation?
>     Thanks
> Daohua

  • Prev by Date: Re: Controlling function arguments
  • Next by Date: Re: Controlling function arguments
  • Previous by thread: Question about Hold
  • Next by thread: Re: Re: Question about Hold