from_rotation_matrix#
- classmethod Quaternion.from_rotation_matrix(rm: ndarray[Any, dtype[_ScalarType_co]])#
Initialises from rotation matrix. This code is more or less taken from http://www.martinb.com/maths/geometry/rotations/conversions/matrixToQuaternion/index.htm.
- Parameters:
rm – Rotation matrix to initialze from.
- Return type: