[SciPy-user] problem with the determinant of matrix

Alan G Isaac aisaac@american....
Tue Mar 20 14:44:25 CDT 2007


On Tue, 20 Mar 2007, emilia12@mail.bg apparently wrote: 

> i have a problem with the determinant of matrix. 


Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 
bit (Intel)] on win 32
Type "help", "copyright", "credits" or "license" for more information.
>>> from numpy import matrix
>>> from numpy.linalg import det
>>> A=matrix([[1,1,1],[4,4,3],[7,8,5]])
>>> det(A)
0.99999999999999956
>>>

fwiw,
Alan Isaac





More information about the SciPy-user mailing list