[Numpy-discussion] cross product of two 3xn arrays
wbaxter at gmail.com
Thu Feb 16 21:59:02 CST 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.
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion