Re: [Numpy-discussion] question about in-place operations

2012-05-24 Thread Francesc Alted
On 5/22/12 9:08 PM, Massimo Di Pierro wrote: > This problem is linear so probably Ram IO bound. I do not think I > would benefit much for multiple cores. But I will give it a try. In > the short term this is good enough for me. Yeah, this what common sense seems to indicate, that RAM IO bound pro

[Numpy-discussion] Some numpy funcs for PyPy

2012-05-24 Thread Dmitrey
hi all, maybe you're aware of numpypy - numpy port for pypy (pypy.org) - Python language implementation with dynamic compilation. Unfortunately, numpypy developmnent is very slow due to strict quality standards and some other issues, so for my purposes I have provided some missing numpypy funcs

Re: [Numpy-discussion] [SciPy-User] Some numpy funcs for PyPy

2012-05-24 Thread Flavio Coelho
That's very usefull! I hope these features get included upstream in the next release of numpypy. thanks, Flávio On Thu, May 24, 2012 at 8:32 AM, Dmitrey wrote: > hi all, > maybe you're aware of numpypy - numpy port for pypy (pypy.org) - Python > language implementation with dynamic compilatio

Re: [Numpy-discussion] Some numpy funcs for PyPy

2012-05-24 Thread Peter
On Thu, May 24, 2012 at 12:32 PM, Dmitrey wrote: > hi all, > maybe you're aware of numpypy - numpy port for pypy (pypy.org) - Python > language implementation with dynamic compilation. > > Unfortunately, numpypy developmnent is very slow due to strict quality > standards and some other issues, so

Re: [Numpy-discussion] Some numpy funcs for PyPy

2012-05-24 Thread Dmitrey
> On your website you wrote: >> From my (Dmitrey) point of view numpypy development is >> very unfriendly for newcomers - PyPy developers say "provide >> code, preferably in interpreter level instead of AppLevel, >> provide whole test coverage for all possible corner cases, >> provide hg diff

Re: [Numpy-discussion] Some numpy funcs for PyPy

2012-05-24 Thread Peter
On Thu, May 24, 2012 at 2:07 PM, Dmitrey wrote: > > I had been subsribed IIRC for a couple of months I don't follow the PyPy IRC so that would explain it. I don't know how much they use that rather than their mailing list, but both seem a better place to discuss their handling or external contrib

[Numpy-discussion] Checking for views (was: Should arr.diagonal() return a copy or aview?)

2012-05-24 Thread Jonathan T. Niehof
On 05/23/2012 05:31 PM, T J wrote: > It seems that there are a number of ways to check if an array is a view. > Do we have a preferred way in the API that is guaranteed to stay > available? Or are all of the various methods "here to stay"? We've settled on checking array.base, which I think was t

Re: [Numpy-discussion] Checking for views (was: Should arr.diagonal() return a copy or aview?)

2012-05-24 Thread Benjamin Root
On Thu, May 24, 2012 at 10:56 AM, Jonathan T. Niehof wrote: > On 05/23/2012 05:31 PM, T J wrote: > > > It seems that there are a number of ways to check if an array is a view. > > Do we have a preferred way in the API that is guaranteed to stay > > available? Or are all of the various methods "her

Re: [Numpy-discussion] Checking for views (was: Should arr.diagonal() return a copy or aview?)

2012-05-24 Thread Nathaniel Smith
On Thu, May 24, 2012 at 3:56 PM, Jonathan T. Niehof wrote: > On 05/23/2012 05:31 PM, T J wrote: > >> It seems that there are a number of ways to check if an array is a view. >> Do we have a preferred way in the API that is guaranteed to stay >> available? Or are all of the various methods "here to

Re: [Numpy-discussion] Checking for views (was: Should arr.diagonal() return a copy or aview?)

2012-05-24 Thread Robert Kern
On Thu, May 24, 2012 at 4:10 PM, Nathaniel Smith wrote: > On Thu, May 24, 2012 at 3:56 PM, Jonathan T. Niehof wrote: >> On 05/23/2012 05:31 PM, T J wrote: >> >>> It seems that there are a number of ways to check if an array is a view. >>> Do we have a preferred way in the API that is guaranteed t

Re: [Numpy-discussion] Checking for views (was: Should arr.diagonal() return a copy or aview?)

2012-05-24 Thread Larsen, Brian A
This is the stack overflow discussion mentioned. http://stackoverflow.com/questions/9164269/can-you-tell-if-an-array-is-a-view-of-another I basically implemented the answer from SO. I feel like the "is" gives you a good handle on things since to be true they are actually the same location in m

Re: [Numpy-discussion] Checking for views (was: Should arr.diagonal() return a copy or aview?)

2012-05-24 Thread Nathaniel Smith
On Thu, May 24, 2012 at 6:07 PM, Larsen, Brian A wrote: > This is the stack overflow discussion mentioned. > > http://stackoverflow.com/questions/9164269/can-you-tell-if-an-array-is-a-view-of-another > > I basically implemented the answer from SO.  I feel like the "is" gives you > a good handle on

Re: [Numpy-discussion] Checking for views (was: Should arr.diagonal() return a copy or aview?)

2012-05-24 Thread josef . pktd
On Thu, May 24, 2012 at 1:59 PM, Nathaniel Smith wrote: > On Thu, May 24, 2012 at 6:07 PM, Larsen, Brian A wrote: >> This is the stack overflow discussion mentioned. >> >> http://stackoverflow.com/questions/9164269/can-you-tell-if-an-array-is-a-view-of-another >> >> I basically implemented the an

Re: [Numpy-discussion] Fwd: Named dtype array: Difference between a[0]['name'] and a['name'][0]?

2012-05-24 Thread diehose
thanks a lot. I updated the question on stackoverflow and opened a ticket http://projects.scipy.org/numpy/ticket/2139 björn Am Montag, 21. Mai 2012, 15:37:36 schrieb Travis Oliphant: This is the right place to ask, it's just that it can take time to get an answer because people who might k