toRotationMatrix

fun Quaternion.toRotationMatrix(linearSpace: LinearSpace<Double, *> = DoubleField.linearSpace): Matrix<Double>(source)

Convert a Quaternion to a rotation matrix