MathGroup Archive 2009

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

Search the Archive

Re: Mathematica bug??


It works fine here:

{{Sqrt[1 - 2/r], 0, 0, 0}, {0, 1/Sqrt[1 - 2/r], 0, 0}, {0, 0, r,
    0}, {0, 0, 0, r Sin[\[Theta]]}} // Inverse

{{1/Sqrt[1 - 2/r], 0, 0, 0}, {0, Sqrt[1 - 2/r], 0, 0}, {0, 0, 1/r,
   0}, {0, 0, 0, Csc[\[Theta]]/r}}

$Version

"7.0 for Mac OS X x86 (64-bit) (February 19, 2009)"

Bobby

On Sun, 07 Jun 2009 04:02:16 -0500, oshaughn <oshaughn at gravity.psu.edu>  
wrote:

> {{Sqrt[1 - 2/r], 0, 0, 0}, {0, 1/Sqrt[1 - 2/r], 0, 0}, {0, 0, r,
>    0}, {0, 0, 0, r Sin[\[Theta]]}} // Inverse
>
> gives
>
> {{0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 1/r, 0}, {0, 0, 0, Csc[\[Theta]]/
>   r}}
>
> with no warnings.  This is a *diagonal* matrix that should be
> trivially invertible.
>
> Does anyone know why Inverse has catastrophically failed here?
>



-- 
DrMajorBob at bigfoot.com


  • Prev by Date: Re: Mathematica bug??
  • Next by Date: Re: Rasterize off by one pixel
  • Previous by thread: Mathematica bug??
  • Next by thread: Re: Mathematica bug??