Re: [Numpy-discussion] OWNDATA flag and reshape() -- views vs. copies

2008-04-19 Thread Eric Firing
Guillaume Desjardins wrote: > I'm pretty new to Python and numpy (longtime c / matlab programmer), > but after a read through some of the past threads and Travis' "Guide > to Numpy", I think I have a fairly good understanding of how the > reshape() function / methods work, with regards to views and

[Numpy-discussion] OSX installer: please test

2008-04-19 Thread Muhammad Alkarouri
Hi, Testing on Intel Core Duo Mac OS X 10.4.11: In [1]: import numpy as np In [2]: np.test(all=True) Numpy is installed in /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy Numpy version 1.1.0rc1 Python version 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) [GCC 4.0.

Re: [Numpy-discussion] numpy1.2 : make sorts unary ufuncs

2008-04-19 Thread Charles R Harris
On Sat, Apr 19, 2008 at 11:40 AM, Travis E. Oliphant <[EMAIL PROTECTED]> wrote: > Charles R Harris wrote: > > > > > > On Sat, Apr 19, 2008 at 1:29 AM, Charles R Harris > > <[EMAIL PROTECTED] > wrote: > > > > > > > > On Sat, Apr 19, 2008 at 1:12 AM, Robert Kern > >

Re: [Numpy-discussion] numpy1.2 : make sorts unary ufuncs

2008-04-19 Thread Travis E. Oliphant
Charles R Harris wrote: > > > On Sat, Apr 19, 2008 at 1:29 AM, Charles R Harris > <[EMAIL PROTECTED] > wrote: > > > > On Sat, Apr 19, 2008 at 1:12 AM, Robert Kern > <[EMAIL PROTECTED] > wrote: > > On Sat, Apr 19, 2008 at 1:55 AM,

Re: [Numpy-discussion] OSX installer: please test

2008-04-19 Thread Stéfan van der Walt
On 19/04/2008, Robert Kern <[EMAIL PROTECTED]> wrote: > In any case, MacPorts' Python is not a framework build, so the binary > wouldn't work anyways. Could you explain what you mean by that? Mine was compiled with the +framework flag, so it should be a "framework" build? I understand the reas

Re: [Numpy-discussion] OSX installer: please test

2008-04-19 Thread Robert Pyle
Hi, I have installed it with no problems on a dual G5 (i.e., PPC). It works fine, but I haven't beat on it very hard. (Array manipulations, fft, math functions, mostly). Bob Pyle On Apr 19, 2008, at 3:46 AM, Jarrod Millman wrote: > On Wed, Apr 16, 2008 at 2:36 PM, Christopher Burns <[EMAI

Re: [Numpy-discussion] OSX installer: please test

2008-04-19 Thread Alexander Michael
On Wed, Apr 16, 2008 at 5:36 PM, Christopher Burns <[EMAIL PROTECTED]> wrote: > I've built a Universal Mac binary for numpy 1.1.0. If Mac people would > kindly test it, I'd appreciate any feedback. > > > Download here: > https://cirl.berkeley.edu/numpy/numpy-1.1.0rc1-py2.5-macosx10.5.dmg > > Techn

Re: [Numpy-discussion] Suppress colored output during numpy build?

2008-04-19 Thread Robert Kern
On Sat, Apr 19, 2008 at 4:56 AM, Skip Montanaro <[EMAIL PROTECTED]> wrote: > Is it possible to suppress the colored output that's emitted > during the build process? I find it next-to-impossible to > read yellow text on my white terminal background. I saw nothing > in the --help-commands outpu

[Numpy-discussion] Suppress colored output during numpy build?

2008-04-19 Thread Skip Montanaro
Is it possible to suppress the colored output that's emitted during the build process? I find it next-to-impossible to read yellow text on my white terminal background. I saw nothing in the --help-commands output which suggested this was possible. Thanks, Skip Montanaro __

Re: [Numpy-discussion] OSX installer: please test

2008-04-19 Thread Robert Kern
On Sat, Apr 19, 2008 at 2:46 AM, Jarrod Millman <[EMAIL PROTECTED]> > If anyone has tested this out, please let us know. If you have a Mac > and haven't tested this, please do so. This is one of the very last > things that I need feedback on before finally scheduling the next > NumPy release.

Re: [Numpy-discussion] OSX installer: please test

2008-04-19 Thread Robert Kern
On Sat, Apr 19, 2008 at 3:45 AM, Stéfan van der Walt <[EMAIL PROTECTED]> wrote: > Is there any reason why "System Python 2.5" (specifically) is a > requirement? Actually, it's not the System Python 2.5 but the python.org binary. Installer.app isn't particularly flexible, so we can really only i

Re: [Numpy-discussion] OSX installer: please test

2008-04-19 Thread Stéfan van der Walt
Hi, On 19/04/2008, Jarrod Millman <[EMAIL PROTECTED]> wrote: > On Wed, Apr 16, 2008 at 2:36 PM, Christopher Burns <[EMAIL PROTECTED]> wrote: > > I've built a Universal Mac binary for numpy 1.1.0. If Mac people would > > kindly test it, I'd appreciate any feedback. > > > > Download here: > >

Re: [Numpy-discussion] OSX installer: please test

2008-04-19 Thread Jarrod Millman
On Wed, Apr 16, 2008 at 2:36 PM, Christopher Burns <[EMAIL PROTECTED]> wrote: > I've built a Universal Mac binary for numpy 1.1.0. If Mac people would > kindly test it, I'd appreciate any feedback. > > Download here: > https://cirl.berkeley.edu/numpy/numpy-1.1.0rc1-py2.5-macosx10.5.dmg > > Technic

Re: [Numpy-discussion] numpy1.2 : make sorts unary ufuncs

2008-04-19 Thread Charles R Harris
On Sat, Apr 19, 2008 at 1:29 AM, Charles R Harris <[EMAIL PROTECTED]> wrote: > > On Sat, Apr 19, 2008 at 1:12 AM, Robert Kern <[EMAIL PROTECTED]> > wrote: > > > On Sat, Apr 19, 2008 at 1:55 AM, Charles R Harris > > <[EMAIL PROTECTED]> wrote: > > > > > Yes, but the inner loop is just something tha

Re: [Numpy-discussion] numpy1.2 : make sorts unary ufuncs

2008-04-19 Thread Charles R Harris
On Sat, Apr 19, 2008 at 1:12 AM, Robert Kern <[EMAIL PROTECTED]> wrote: > On Sat, Apr 19, 2008 at 1:55 AM, Charles R Harris > <[EMAIL PROTECTED]> wrote: > > > Yes, but the inner loop is just something that uses the array values > along > > that axis to produce another set of values, i.e., it is a

Re: [Numpy-discussion] Truth value of an array

2008-04-19 Thread Olivier Verdier
Anne, thank you, this was the example I was looking for. Indeed A!=B would not work as expected if the bool(A) always returned A.all(). Now I can teach my student why there is no automatic conversion from boolean arrays to booleans. == Olivier On 18/04/2008, Anne Archibald <[EMAIL PROTECTED]> wro

Re: [Numpy-discussion] numpy1.2 : make sorts unary ufuncs

2008-04-19 Thread Travis E. Oliphant
Charles R Harris wrote: > > > On Sat, Apr 19, 2008 at 12:20 AM, Travis E. Oliphant > <[EMAIL PROTECTED] > wrote: > > Charles R Harris wrote: > > The signature for a ufunc is something like > > > > @[EMAIL PROTECTED]@kind@(char **args, intp *dimensions, int

Re: [Numpy-discussion] numpy1.2 : make sorts unary ufuncs

2008-04-19 Thread Robert Kern
On Sat, Apr 19, 2008 at 1:55 AM, Charles R Harris <[EMAIL PROTECTED]> wrote: > Yes, but the inner loop is just something that uses the array values along > that axis to produce another set of values, i.e., it is a vector valued > function of vectors. So is a sort, so is argsort, so is the inner pr