MathGroup Archive 2002

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

Search the Archive

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


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]