MathGroup Archive 2004

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

Search the Archive

a bug in Det of complex matrix - Mathematica 5

  • To: mathgroup at smc.vnet.net
  • Subject: [mg45879] a bug in Det of complex matrix - Mathematica 5
  • From: Petr Kujan <kujanp at fel.cvut.cz>
  • Date: Wed, 28 Jan 2004 05:19:25 -0500 (EST)
  • Reply-to: kujanp at fel.cvut.cz
  • Sender: owner-wri-mathgroup at wolfram.com

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 *)

-------
   Petr


  • Prev by Date: Re: Re: Re: typesetting fractions
  • Next by Date: displaying images in the complex plane
  • Previous by thread: Integration, Minimization and complex numbers Problem
  • Next by thread: Re: a bug in Det of complex matrix - Mathematica 5