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 2001

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

Search the Archive

Re: Overriding Power

  • To: mathgroup at
  • Subject: [mg26841] Re: Overriding Power
  • From: "Paul Lutus" <nospam at>
  • Date: Thu, 25 Jan 2001 01:13:20 -0500 (EST)
  • References: <94m9e5$>
  • Sender: owner-wri-mathgroup at

"Jeff Hersh" <frumple*NOSPAM* at> wrote in message
news:94m9e5$3nu at
> Hello,
> I am working on a package that deals with non-communative multiplication
> and I have run into a problem with the Power function. As we know
> Power[a b,n] (where n is an integer) automatically gets converted to
> Power[a,n] Power[b,n]. However, with non-communative multiplication (I
> have removed the Orderless attribute from Times to make it
> non-communative) this isn't valid. Is there any way I can stop
> Mathematica from automatically doing this conversion?

Why not write your own function with its own rules and don't use Power[] or
"^", or (less desirable) redefine these symbols for your own purposes?

Paul Lutus

  • Prev by Date: Re: matrices
  • Next by Date: RE: matrices
  • Previous by thread: Re: Re: Overriding Power
  • Next by thread: Re: Overriding Power