This function is mathematically equivalent to rot2eulunity(R %*% eulunity2rot(rot_x, rot_y, rot_z)) But is instead vectorized and can operate on columns instead of needing to be computed row wise.

reorient_eulunity(rot_x, rot_y, rot_z, R)

Arguments

R

a 3x3 Rotation matrix

Value

a vector containing rot_x rot_y and rot_z