MathGroup Archive 2001

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

Search the Archive

Re: Overriding Power


"Jeff Hersh" <frumple*NOSPAM* at home.com> wrote in message
news:94m9e5$3nu at smc.vnet.net...
> 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
www.arachnoid.com




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