SO3.Q4: Translate a unit quaternion to a rotation matrix

Description Usage Arguments Value See Also Examples

Description

A function to translate from unit quaternion representation to SO(3) representation of a rotation matrix. Wikipedia has a good summary of this and other transforms.

Usage

1

Arguments

q

numeric unit vector, i.e. q^\top q=1, representing an element in SO(3)

Value

vector representation of a rotation matrix in SO(3)

See Also

is.SO3 can be used to check the return vector

Examples

1
is.SO3(SO3.Q4(c(1/sqrt(2),0,0,1/sqrt(2))))

heike/rotations documentation built on May 17, 2019, 3:24 p.m.