MathGroup Archive 2004

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

Search the Archive

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


In Mathematica 5.0.1 it's OK:

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

1. + 0.*I

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

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: RE: displaying images in the complex plane
  • Next by Date: Re: MathML Namespace + Mathematica
  • Previous by thread: a bug in Det of complex matrix - Mathematica 5
  • Next by thread: Re: a bug in Det of complex matrix - Mathematica 5