Re: [Numpy-discussion] Profiling line-by-line

2006-08-13 Thread David Grant
Could thishttp://oubiwann.blogspot.com/2006/08/python-and-kcachegrind.htmllead to line-by-line profiling with numpy functions?Dave On 7/26/06, David Grant <[EMAIL PROTECTED]> wrote: Does anyone know if this issue related to profiling with numpy is a python problem or a numpy problem?Dave On 7/20/06

Re: [Numpy-discussion] concersion warning: numarray to numpy - now array defaults to not copy

2006-08-13 Thread Sebastian Haase
SORRY FOR THE CONFUSION !! I must have been on drugs ! Maybe I did not get enough sleep. asarray() is the function that does not create a copy - both in numpy and in numarray. Sorry, Sebastian Travis Oliphant wrote: > Sebastian Haase wrote: >> Hi, >> I just wanted to point out that the defaul

Re: [Numpy-discussion] concersion warning: numarray to numpy - now array defaults to not copy

2006-08-13 Thread Travis Oliphant
Sebastian Haase wrote: > Hi, > I just wanted to point out that the default of the copy argument changed > from numpy to numarray. > Don't forget about that in the conversion script ... > Hmm.. I don't see what you are talking about. The default for the copy argument in the array function is

[Numpy-discussion] concersion warning: numarray to numpy - now array defaults to not copy

2006-08-13 Thread Sebastian Haase
Hi, I just wanted to point out that the default of the copy argument changed from numpy to numarray. Don't forget about that in the conversion script ... Cheers, Sebastian Haase - Using Tomcat but need to do more? Need to s

Re: [Numpy-discussion] numarray cov function

2006-08-13 Thread Travis Oliphant
John Hunter wrote: > I was surprised to see that numarray.mlab.cov is returning a rank-0 > complex number when given two 1D arrays as inputs rather than the > standard 2x2 covariance array I am used to seeing. Is this a feature > or a bug? > This was the old behavior of the Numeric cov functi

Re: [Numpy-discussion] numarray cov function

2006-08-13 Thread Travis Oliphant
John Hunter wrote: > I was surprised to see that numarray.mlab.cov is returning a rank-0 > complex number when given two 1D arrays as inputs rather than the > standard 2x2 covariance array I am used to seeing. Is this a feature > or a bug? > > > In [2]: import numarray.mlab as nam > > In [3]: x

[Numpy-discussion] numarray cov function

2006-08-13 Thread John Hunter
I was surprised to see that numarray.mlab.cov is returning a rank-0 complex number when given two 1D arrays as inputs rather than the standard 2x2 covariance array I am used to seeing. Is this a feature or a bug? In [2]: import numarray.mlab as nam In [3]: x = nam.rand(10) In [4]: y = nam.r

Re: [Numpy-discussion] Memory leak in array protocol numarray <--numpy

2006-08-13 Thread Todd Miller
Francesc Altet wrote: > A Dissabte 12 Agost 2006 14:37, Todd Miller va escriure: > >> I agree with all of Travis' comments below and committed the suggested >> changes to numarray CVS. I found one other numarray change needed >> for Francesc's examples to run (apparently) leak-free: >> >> Py

[Numpy-discussion] Undelivered Mail Returned to Sender

2006-08-13 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