U2Q:
--------------------------------------------------------------------------
Finds the quaternion that aligns a unit vector with a second vector.
Type U2Q for a demo.
Since version 1.
--------------------------------------------------------------------------
Form:
q = U2Q( u, v )
--------------------------------------------------------------------------
------
Inputs
------
u (3,:) Vector
v (3,:) Where vector is after rotation
-------
Outputs
-------
Q (4,:) Quaternion that rotates u into v
--------------------------------------------------------------------------
Children:
Common: Quaternion/QTForm
Math: Geometry/Perpendicular
Math: Linear/Cross
Math: Linear/Dot
Math: Linear/DupVect
Math: Linear/Unit