Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: Mathematica bug??

  • To: mathgroup at smc.vnet.net
  • Subject: [mg100570] Re: Mathematica bug??
  • From: David Bailey <dave at removedbailey.co.uk>
  • Date: Mon, 8 Jun 2009 02:07:25 -0400 (EDT)
  • References: <h0fvlb$rct$1@smc.vnet.net>

oshaughn 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?
> 
This gives the expected result with 7.0.1 on 64-bit Windows. What 
version of Mathematica are you using?

David Bailey
http://www.dbaileyconsultancy.co.uk


  • Prev by Date: 60Mb dataset
  • Next by Date: Coding for Mathematica
  • Previous by thread: Re: Mathematica bug??
  • Next by thread: Re: Mathematica bug??