Re: [Numpy-discussion] matrix inversion

2011-08-10 Thread Martin Teichmann
Hi, > i am trying to invert matrices like this: > [[ 0.01643777 -0.13539939  0.11946689] >  [ 0.12479926  0.01210898 -0.09217618] >  [-0.13050087  0.07575163  0.01144993]] > > in perl using Math::MatrixReal; > and in various online calculators i get > [  2.472715991745  3.680743681735 -3.831392002

[Numpy-discussion] User data types

2009-10-24 Thread Martin Teichmann
e. I guess a PyErr_Clear should be added at the beginning of the if-clause to solve the problem. I submitted this bug as Ticket #1255 to the numpy trac system, where you can also find the code that triggered the bug. Greetings Martin Teichmann ___ NumP

[Numpy-discussion] saving and loading as PNG

2007-11-08 Thread Martin Teichmann
Hi all, i am working with numpy and mostly 16 bit matrices, and so I was looking for a standard way of saving them. I found that PNG actually supports that, but I could not find a way to use this feature from within python. I thought that it actually is a cool way of storing matrices and thus I wr