Elements.pyECSS.math_utilities.quaternion_matrix

Elements.pyECSS.math_utilities.quaternion_matrix(q)[source]

Compute and return a 4x4 matrix from the quaternion q, scalar-last like scipy https://www.euclideanspace.com/maths/geometry/rotations/conversions/quaternionToMatrix/index.htm

Parameters

q ([type]) – [description]