Re: [Numpy-discussion] Quaternion dtype for NumPy - initial implementation available

2011-07-16 Thread Anne Archibald
What a useful package! Apart from helping all the people who know they need quaternions, this package removes one major family of use cases for vectorized small-matrix operations, namely, 3D rotations. Quaternions are the canonical way to represent orientation and rotation in three dimensions, and

Re: [Numpy-discussion] Problem with boolean-indexing of structured arrays

2011-07-16 Thread Benjamin Root
On Sat, Jul 16, 2011 at 2:12 PM, Benjamin Root wrote: > Just a heads-up, I have uncovered a serious bug in one of my programs and > traced it down to a boolean indexing of a structured array in the current > master branch of numpy. While I am still investigating exactly what is > happening, my

Re: [Numpy-discussion] Error building numpy (1.5.1 and 1.6.1rc3) with python2.7 debug

2011-07-16 Thread Bruce Southey
On Sat, Jul 16, 2011 at 4:34 AM, Sandro Tosi wrote: > Hello, > while preparing a test upload for 1.6.1rc3 in Debian, I noticed that > it gets an error when building blas with python 2.7 in the debug > flavor, the build log is at [1]. It's also been confirmed it fails > also with 1.5.1 [2] > > [1]

[Numpy-discussion] Problem with boolean-indexing of structured arrays

2011-07-16 Thread Benjamin Root
Just a heads-up, I have uncovered a serious bug in one of my programs and traced it down to a boolean indexing of a structured array in the current master branch of numpy. While I am still investigating exactly what is happening, my initial suspicion is that data from another structured array is

Re: [Numpy-discussion] Quaternion dtype for NumPy - initial implementation available

2011-07-16 Thread Craig Yoshioka
Wow, that makes for a great howto example. Thanks. On Jul 16, 2011, at 7:50 AM, Martin Ling wrote: > Hi all, > > I have just pushed a package to GitHub which adds a quaternion dtype to > NumPy: https://github.com/martinling/numpy_quaternion > > Some backstory: on Wednesday I gave a talk at Sc

[Numpy-discussion] Quaternion dtype for NumPy - initial implementation available

2011-07-16 Thread Martin Ling
Hi all, I have just pushed a package to GitHub which adds a quaternion dtype to NumPy: https://github.com/martinling/numpy_quaternion Some backstory: on Wednesday I gave a talk at SciPy 2011 about an inertial sensing simulation package I have been working on (http://www.imusim.org/). One componen

[Numpy-discussion] PyBUF_SIMPLE requests

2011-07-16 Thread Stefan Krah
Hello, I'm working on the completion of the PEP-3118 (buffer protocol) implementation in Python core. I was wondering how a PyBUF_SIMPLE buffer request sent to an object with a complex structure should behave. The current Python C-API documentation for a PyBUF_SIMPLE buffer request says: "This

[Numpy-discussion] Error building numpy (1.5.1 and 1.6.1rc3) with python2.7 debug

2011-07-16 Thread Sandro Tosi
Hello, while preparing a test upload for 1.6.1rc3 in Debian, I noticed that it gets an error when building blas with python 2.7 in the debug flavor, the build log is at [1]. It's also been confirmed it fails also with 1.5.1 [2] [1] http://people.debian.org/~morph/python-numpy_1.6.1~rc3-1_amd64.bui