Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: a bug in Det of complex matrix - Mathematica 5

  • To: mathgroup at smc.vnet.net
  • Subject: [mg45888] Re: a bug in Det of complex matrix - Mathematica 5
  • From: bobhanlon at aol.com (Bob Hanlon)
  • Date: Thu, 29 Jan 2004 05:34:33 -0500 (EST)
  • References: <bv83db$ibs$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

There is no problem on my Mac

$Version

5.0 for Mac OS X (November 19, 2003)

mat={{-1.,1.-1. I},{-1.,-1. I}};
Det[mat]

1. + 0.*I

%//Chop

1.

rmat=Rationalize[mat];
Det[rmat]

1


Bob Hanlon

In article <bv83db$ibs$1 at smc.vnet.net>, Petr Kujan <kujanp at fel.cvut.cz> wrote:

<< In Mathematica 5.0:

(* ERROR *)
mat = {{-1., 1.- 1. I}, {-1., -1. I}};
Det[mat]

(* Out[1]=   -1. + 1. I *)


(* CORRECT *)
rmat = Rationalize[mat];
Det[rmat]

(* Out[2]=   1 *)


  • Prev by Date: Re: Difference of numbers in the list
  • Next by Date: Re: a bug in Det of complex matrix - Mathematica 5
  • Previous by thread: Re: a bug in Det of complex matrix - Mathematica 5
  • Next by thread: Re: a bug in Det of complex matrix - Mathematica 5