MathGroup Archive 2002

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

Search the Archive

Re: redefine Power[A_?MatrixQ,-1]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg32629] Re: [mg32593] redefine Power[A_?MatrixQ,-1]
  • From: Mianlai Zhou <lailai at nikhef.nl>
  • Date: Fri, 1 Feb 2002 02:02:31 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi, it does not work because the internal attribute Listable of Power
takes the priority.

To make it work, just add the command

ClearAttributes[Power, Listable]

before your Power[A_?MatrixQ,-1] := Inverse[A] .

Good Luck!

Mianlai Zhou
Theory Group, NIKHEF
Amsterdam, The Netherlands

On Thu, 31 Jan 2002, Cyril Fischer wrote:

> Hi,
> How can I redefine Power[A_?MatrixQ,-1] := Inverse[A] ?
> 
> Issuing
> Unprotect[Power];
> Power[A_?MatrixQ,-1] := Inverse[A]
> 
> does not work.
> Thanks, Cyril
> 
> 



  • Prev by Date: Sum expansion
  • Next by Date: Re: dropping higher order terms
  • Previous by thread: Re: redefine Power[A_?MatrixQ,-1]
  • Next by thread: Re: redefine Power[A_?MatrixQ,-1]