python - Numpy.linalg.det() returns incorrect result -


would know why numpy returning "-2.0000000000000004" instead of "-2"

>>> m = [[1,2],[3,4]] >>> numpy.linalg.det(m) -2.0000000000000004 

i using python 3.4.2 (x64), numpy 1.9.1 , windows 7 x64.


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -