Xavier Roblot on Tue, 28 Dec 1999 17:15:44 +0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

matdet bug


                GP/PARI CALCULATOR Version 2.0.18 (development)
                i586 running linux (ix86 kernel) 32-bit version

? M = [9, 0, 6, 2/3, 37/9, 5/9, 6, 11/3; 0, 9, 3, 6, 20/9, 17/9, 0, 8;
0, 0, 3, 5/3, 7/9, 10/9, 0, 8/3; 0, 0, 0, 1/3, 1/9, 0, 0, 0; 0, 0, 0, 0,
1/9, 0, 0, 0; 0, 0, 0, 0, 0, 1/9, 0, 0; 0, 0, 0, 0, 0, 0, 3, 7/3; 0, 0,
0, 0, 0, 0, 0, 1/3];
? matdet(M)
%2 = 0
? matdet(1.*M)
%3 = 0.9999999999999999999999999999

The correct answer is the second one.

Xavier