Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Question about Hold

  • To: mathgroup at
  • Subject: [mg48833] Re: Question about Hold
  • From: drbob at (Bobby R. Treat)
  • Date: Fri, 18 Jun 2004 02:13:02 -0400 (EDT)
  • References: <carjrn$r76$>
  • Sender: owner-wri-mathgroup at

A few questions:

1) Why write A*A as if that's different from A^2? (It isn't.)

2) Why use Hold[A*A] if you want the argument evaluated?

3) What do you want Commute[Hold[A*A],B] to evaluate to? (Commute[A,C], I suppose.)

4) What have you done to make it happen? Just Commute[A,B]=C? Or something else.

5) Are we mind-readers?


Daohua  Song <ds2081 at> wrote in message news:<carjrn$r76$1 at>...
> 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: General question on handling very large datasets in Mathematica
  • Next by Date: Announcement: Calculus with Mathematica
  • Previous by thread: Re: Re: Question about Hold
  • Next by thread: Re: Question about Hold