Function lupnt::QuatCoeffToDCM

Function Documentation

Mat3 lupnt::QuatCoeffToDCM(Vec4 quat)

Convert a quaternion to a direction cosine matrix.

Parameters:

quat – quaternion [q0, q1, q2, q3] = [scalar, vector]

Returns:

Mat3 direction cosine matrix