[Numpy-discussion] cross product of two 3xn arrays

Bill Baxter wbaxter at gmail.com
Thu Feb 16 21:59:02 EST 2006


Quaternions using which convention?  [s,x,y,z] or [x,y,z,w]?
The docstring should make it very clear.  Perhaps support a flag for
choosing which, unless there's some python-wide standard for quaternions
that I'm not aware of.

--Bill

On 2/17/06, Charles R Harris <charlesr.harris at gmail.com> wrote:
>
> Would anyone be interested in a quaternion version of this for nx4
> arrays with nx3 as a special case where the scalar part == 0? Looking
> at the the cross product implementation, it shouldn't be to hard to
> duplicate this for quaternions. What should such a product be called?
> Something like qprod?
>
> Chuck
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20060216/d2545166/attachment.html>


More information about the NumPy-Discussion mailing list