|
From: Bill B. <wb...@gm...> - 2006-02-17 05:58:49
|
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 <cha...@gm...> wrote: > > Would anyone be interested in a quaternion version of this for nx4 > arrays with nx3 as a special case where the scalar part =3D=3D 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 > > |