kmath
0.3.1-dev-RC
common
kmath-geometry
/
space.kscience.kmath.geometry
/
fromRotationMatrix
from
Rotation
Matrix
fun
Quaternion.Companion
.
fromRotationMatrix
(
matrix
:
Matrix
<
Double
>
)
:
Quaternion
(
source
)
taken from https://www.euclideanspace.com/maths/geometry/rotations/conversions/matrixToQuaternion/