Documentation for /home/davin/idl/socware/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

general/misc/quaternion/

qtom.pro


Function: qtom Purpose: transforms quaternions into rotation matrices Inputs: a 4 element array representing a quaternion or an Nx4 element array representing an array of quaternions Returns: a 3x3 matrix or an Nx3x3 array Notes: Implementation largely copied from the euve c library for quaternions Represention has q[0] = scalar component q[1] = vector x q[2] = vector y q[3] = vector z The vector component of the quaternion can also be thought of as an eigenvalue of the rotation the quaterion performs Written by: Patrick Cruce(pcruce@igpp.ucla.edu) $LastChangedBy: pcruce $ $LastChangedDate: 2007-11-11 17:12:08 -0800 (Sun, 11 Nov 2007) $ $LastChangedRevision: 2027 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/ssl_general/trunk/cotrans/cotrans.pro $

Routines

top source qtom

result = qtom(q)

Parameters

q

File attributes

Modification date: Thu Feb 13 16:43:45 2014
Lines: 27