Re: [Numpy-discussion] "Extended" Outer Product

2007-09-19 Thread Anne Archibald
On 19/09/2007, Travis E. Oliphant <[EMAIL PROTECTED]> wrote: > Anne Archibald wrote: > > vectorize, of course, is a good example of my point above: it really > > just loops, in python IIRC, but conceptually it's extremely handy for > > doing exactly what the OP wanted. Unfortunately vectorize() doe

[Numpy-discussion] unwanted cpuinfo output

2007-09-19 Thread Alan G Isaac
Suppose I import cpuinfo on a Win32 platform:: Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import numpy >>> numpy.__version__ '1.0.3.1' >>> from numpy.d

Re: [Numpy-discussion] Compilation failure on python2.4 win32

2007-09-19 Thread Travis E. Oliphant
Jörgen Stenarson wrote: > Hi, > > I cannot compile numpy (rev 2042) for python2.4 on win32, it works on > python2.5. It looks like the call to function get_build_architecture in > distutils.misc_util.py is python2.5 specific. > Yes. This needs to be fixed. I'll do it. Can you try the curr

Re: [Numpy-discussion] Bitting the bullet: using scons to build extensions inside distutils ?

2007-09-19 Thread Travis E. Oliphant
David Cournapeau wrote: > Hi, > >Starting thinking over the whole distutils thing, I was thinking > what people would think about using scons inside distutils to build > extension. The more I think about it, the more I think than distutils > not being maintained, and numpy/scipy building needs

Re: [Numpy-discussion] latest svn version fails on Solaris

2007-09-19 Thread Travis E. Oliphant
Christopher Hanley wrote: > Hi, > > The latest version of numpy has a unit test failure on big endian machines. > Thanks Chris, Do you know which version last succeeded? -Travis ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://p

Re: [Numpy-discussion] "Extended" Outer Product

2007-09-19 Thread Travis E. Oliphant
Anne Archibald wrote: > On 21/08/07, Timothy Hochberg <[EMAIL PROTECTED]> wrote: > > >> This is just a general comment on recent threads of this type and not >> directed specifically at Chuck or anyone else. >> >> IMO, the emphasis on avoiding FOR loops at all costs is misplaced. It is >> often

[Numpy-discussion] Find first occurrence?

2007-09-19 Thread Zachary Pincus
Hello all, On several occasions, I've had the need to find only the first occurrence of a value in an unsorted numpy array. I usually use numpy.where(arr==val)[0] or similar, and don't worry about the fact that I'm iterating across the entire array. However, sometimes the arrays are pretty