Re: [Numpy-discussion] performance matrix multiplication vs. matlab

2010-01-17 Thread Benoit Jacob
2010/1/17 David Cournapeau courn...@gmail.com: On Sun, Jan 17, 2010 at 2:20 PM, Benoit Jacob jacob.benoi...@gmail.com wrote: Couldn't you simply:  - either add LGPL-licensed code to a third_party subdirectory not subject to the NumPy license, and just use it? This is common practice, see

[Numpy-discussion] Structured array sorting

2010-01-17 Thread Thomas Robitaille
I am having trouble sorting a structured array - in the example below, sorting by the first column (col1) seems to work, but not sorting by the second column (col2). Is this a bug? I am using numpy svn r8071 on MacOS 10.6. Thanks for any help, Thomas Python 2.6.1 (r261:67515, Jul 7 2009,

Re: [Numpy-discussion] performance matrix multiplication vs. matlab

2010-01-17 Thread Robert Kern
On Sun, Jan 17, 2010 at 08:52, Benoit Jacob jacob.benoi...@gmail.com wrote: 2010/1/17 David Cournapeau courn...@gmail.com: There are several issues with eigen2 for NumPy usage:  - using it as a default implementation does not make much sense IMHO, as it would make distributed binaries non 100

[Numpy-discussion] Module Index for numpy?

2010-01-17 Thread Wayne Watson
I was just looking at the (Win) Python documentation via the Help on IDLE, and a Global Module Index. Does anything like that exist for numpy, matplotlib, scipy? -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std.

Re: [Numpy-discussion] performance matrix multiplication vs. matlab

2010-01-17 Thread Benoit Jacob
2010/1/17 Robert Kern robert.k...@gmail.com: On Sun, Jan 17, 2010 at 08:52, Benoit Jacob jacob.benoi...@gmail.com wrote: 2010/1/17 David Cournapeau courn...@gmail.com: There are several issues with eigen2 for NumPy usage:  - using it as a default implementation does not make much sense IMHO,

Re: [Numpy-discussion] Structured array sorting

2010-01-17 Thread Warren Weckesser
Looks like 'sort' is not handling endianess of the column data correctly. If you change the type of the floating point data to 'f8', the sort works. Here's another example with short ints: - In [137]: z = np.array([(0,),(258,),(256,),(1,),(255,)], dtype=[('num','i2')]) In [138]:

Re: [Numpy-discussion] performance matrix multiplication vs. matlab

2010-01-17 Thread Robert Kern
On Sun, Jan 17, 2010 at 12:11, Benoit Jacob jacob.benoi...@gmail.com wrote: 2010/1/17 Robert Kern robert.k...@gmail.com: On Sun, Jan 17, 2010 at 08:52, Benoit Jacob jacob.benoi...@gmail.com wrote: 2010/1/17 David Cournapeau courn...@gmail.com: There are several issues with eigen2 for NumPy

Re: [Numpy-discussion] performance matrix multiplication vs. matlab

2010-01-17 Thread Benoit Jacob
2010/1/17 Robert Kern robert.k...@gmail.com: On Sun, Jan 17, 2010 at 12:11, Benoit Jacob jacob.benoi...@gmail.com wrote: 2010/1/17 Robert Kern robert.k...@gmail.com: On Sun, Jan 17, 2010 at 08:52, Benoit Jacob jacob.benoi...@gmail.com wrote: 2010/1/17 David Cournapeau courn...@gmail.com:

Re: [Numpy-discussion] Module Index for numpy?

2010-01-17 Thread David Goldsmith
Hi, Wayne. They're not nearly as structured, but for the time being (indefinitely? unless a volunteer steps forward to build something for us more closely resembling the GMI), you could use the numpy and scipy doc Wiki Milestones pages: http://docs.scipy.org/numpy/Milestones/

Re: [Numpy-discussion] Module Index for numpy?

2010-01-17 Thread josef . pktd
On Sun, Jan 17, 2010 at 2:19 PM, David Goldsmith d.l.goldsm...@gmail.com wrote: Hi, Wayne. They're not nearly as structured, but for the time being (indefinitely? unless a volunteer steps forward to build something for us more closely resembling the GMI), you could use the numpy and scipy

Re: [Numpy-discussion] performance matrix multiplication vs. matlab

2010-01-17 Thread Robert Kern
On Sun, Jan 17, 2010 at 13:18, Benoit Jacob jacob.benoi...@gmail.com wrote: 2010/1/17 Robert Kern robert.k...@gmail.com: On Sun, Jan 17, 2010 at 12:11, Benoit Jacob jacob.benoi...@gmail.com wrote: 2010/1/17 Robert Kern robert.k...@gmail.com: On Sun, Jan 17, 2010 at 08:52, Benoit Jacob

Re: [Numpy-discussion] performance matrix multiplication vs. matlab

2010-01-17 Thread Benoit Jacob
2010/1/17 Robert Kern robert.k...@gmail.com: On Sun, Jan 17, 2010 at 13:18, Benoit Jacob jacob.benoi...@gmail.com wrote: 2010/1/17 Robert Kern robert.k...@gmail.com: On Sun, Jan 17, 2010 at 12:11, Benoit Jacob jacob.benoi...@gmail.com wrote: 2010/1/17 Robert Kern robert.k...@gmail.com: On

Re: [Numpy-discussion] Waf or scons/numscons for a C/Fortran/Cython/Python project -- what's your recommendation?

2010-01-17 Thread Kurt Smith
On Sat, Jan 16, 2010 at 10:04 PM, David Cournapeau courn...@gmail.com wrote: On Sun, Jan 17, 2010 at 4:12 AM, Kurt Smith kwmsm...@gmail.com wrote: My questions here concern those familiar with configure/build/install systems such as distutils, setuptools, scons/numscons or waf (particularly

[Numpy-discussion] Numpy.dot segmentation fault

2010-01-17 Thread Mark Lescroart
Hello, I've encountered a segfault in numpy when trying to compute a dot product for two arrays - see code below. The problem only seems to occur when the arrays reach a certain size. I'm using Numpy version 1.3.0, installed via macports, on a 2.33 GHz Intel Core2 Duo Macbook Pro running

Re: [Numpy-discussion] Numpy.dot segmentation fault

2010-01-17 Thread David Cournapeau
Mark Lescroart wrote: Hello, I've encountered a segfault in numpy when trying to compute a dot product for two arrays - see code below. The problem only seems to occur when the arrays reach a certain size. Your atlas is most likely broken. You will have to double-check how you built it,