[Numpy-discussion] ctypes: how does load_library work ?

2006-08-17 Thread David Cournapeau
Hi, I am investigating the use of ctypes to write C extensions for numpy/scipy. First, thank you for the wiki, it makes it easy to implement in a few minutes a wrapper for a C function taking arrays as arguments. I am running recent SVN version of numpy and scipy, and I couldn't make l

[Numpy-discussion] bug with numpy.linalg.eig for complex output

2006-08-17 Thread Bill Baxter
If you do this:>>>  numpy.linalg.eig(numpy.random.rand(3,3))You'll (almost always) get a wrong answer back from numpy.  Something like:(array([ 1.72167898, -0.07251007, -0.07251007]),  array([[ 0.47908847,  0.72095163,  0.72095163],  [ 0.56659142, -0.46403504, -0.46403504],   [ 0.67040914

Re: [Numpy-discussion] Interesting memory leak

2006-08-17 Thread David Grant
On 8/17/06, Robert Kern <[EMAIL PROTECTED]> wrote: David Grant wrote:> Hello all,>> I had a massive memory leak in some of my code. It would basically end> up using up all 1GB of my RAM or more if I don't kill the application. I> managed to finally figure out which portion of the code was causing t

Re: [Numpy-discussion] Interesting memory leak

2006-08-17 Thread Robert Kern
David Grant wrote: > Hello all, > > I had a massive memory leak in some of my code. It would basically end > up using up all 1GB of my RAM or more if I don't kill the application. I > managed to finally figure out which portion of the code was causing the > leak (with great difficulty) and have

[Numpy-discussion] Interesting memory leak

2006-08-17 Thread David Grant
Hello all,I had a massive memory leak in some of my code. It would basically end up using up all 1GB of my RAM or more if I don't kill the application. I managed to finally figure out which portion of the code was causing the leak (with great difficulty) and have a little example which exposes the

[Numpy-discussion] numpy 0.9.8->1.0b2

2006-08-17 Thread David Grant
I'm contemplating upgrading to 1.0b2. The main reason is that I am experiencing a major memory leak and before I report a bug I think the developers would appeciate if I was using the most recent version. Am I correct in that the only major change that might actually break my code is that the follo

[Numpy-discussion] Undelivered Mail Returned to Sender

2006-08-17 Thread Mail Delivery System
This is the Postfix program at host rosi.szbk.u-szeged.hu. I'm sorry to have to inform you that your message could not be be delivered to one or more recipients. It's attached below. For further assistance, please send mail to If you do so, please include this problem report. You can delete you

[Numpy-discussion] convertcode.py

2006-08-17 Thread Chris Kees
Hi, I just ran convertcode.py on my code (from the latest svn source of numpy) and it looks like it just changed the import statements to import numpy.oldnumeric as Numeric So it doesn't look like it's really helping me move over to the new usage. Is there a script that will c

Re: [Numpy-discussion] how to reference Numerical Python in a scientific publication

2006-08-17 Thread Alan G Isaac
In BibTeX format. fwiw, Alan Isaac @MANUAL{Oliphant:2006, author = {Oliphant, Travis E.}, year = 2006, title= {Guide to NumPy}, month= mar, address = {Provo, UT}, institution = {Brigham Young University} } @ARTICLE{Dubois+etal:1996, author = {Dub

[Numpy-discussion] numpy.bool8

2006-08-17 Thread Christopher Hanley
What happened to numpy.bool8? I realize that bool_ is just as good. I was just wondering what motivated the change? Chris - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly w