count
> for any typos, briefness or bad formatting.)
>
> Am 16.07.2011 um 16:50 schrieb 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
> >
On Fri, Jul 29, 2011 at 09:14:00AM -0600, Charles R Harris wrote:
>
>Well, if the shuttle used a different definition then it was out there
>somewhere. The history of quaternions is rather involved and mixed up with
>vectors, so it may be the case that there were different conventions.
On Thu, Jul 28, 2011 at 09:48:29PM -0500, Robert Love wrote:
>
> Quaternions have a "handedness" or a sign convention. The recently
> departed Space Shuttle used a Left versor convention while most
> things, including Space Station, use the right versor convention, in
> their flight software. Ma
On Fri, Jul 29, 2011 at 02:55:15PM +0100, DIPO ELEGBEDE wrote:
>
>I have a 4 by 4 matrix filled with 0s, 1s and 2s.
>I want to loop through the whole matrix to get the fields with 1s and 2s
>only and then count how many ones and how many twos.
Try this:
>>> m = matrix('1,2,0,2;2,2,1,
Hi,
I'd like to kick off some discussion on general issues I've encountered
while developing the quaternion dtype (see other thread, and the code
at: https://github.com/martinling/numpy_quaternion)
The basic issue is that the attributes of ndarray cannot be adapted
to the dtype of a given array.
On Wed, Jul 27, 2011 at 10:29:08PM -0500, Robert Love wrote:
>
> To use quaternions I find I often need conversion to/from matrices and
> to/from Euler angles. Will you add that functionality?
Yes, I intend to. Note that these conversions are already available in
the standalone (non-dtype) imple
On Sun, Jul 17, 2011 at 05:52:19PM +0200, Ralf Gommers wrote:
>
>Looks very interesting.
>
>One thing that is surprising to me is that the quaternion dtype is
>inserted in to the numpy namespace. For dtypes that are planned to be
>integrated with numpy later on perhaps this makes
On Sat, Jul 16, 2011 at 08:16:44PM -0400, Anne Archibald wrote:
> The next interesting question is, how well does scipy.interpolate deal
> with them? For really good rotational paths I seem to recall you want
> specialized splines, but simply interpolating in the quaternion domain
> is not a bad qu
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