[SciPy-user] problem with the determinant of matrix

emilia12@ma... emilia12@ma...
Tue Mar 20 14:03:54 CDT 2007


Hi list,
i have a problem with the determinant of matrix. Following
the example ("http://www.scipy.org/SciPy_Tutorial"):
#code
from numpy import matrix
from scipy.linalg import inv, det, eig

A=matrix([[1,1,1],[4,4,3],[7,8,5]]) # 3 lines 3 rows
b = matrix([1,2,1]).transpose()     # 3 lines 1 rows.

print det(A)     # We can check, whether the matrix is
regular
#/code

the python crashes with "Exit code: -1073741795"

versions:
Python 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit
(Intel)] on win32
NumPy 1.0.1 for Python 2.4
SciPy 0.5.2 for Python 2.4

so, any ideas why this happens?

e.





-----------------------------

SCENA - Единственото БЕЗПЛАТНО списание за мобилни комуникации и технологии.
http://www.bgscena.com/



More information about the SciPy-user mailing list