Given a rotation matrix that performs some coordinate transform, this function returns the matrix that reverses that transform.
Arguments
- rotation
A rotation matrix (list with
rotcomponent) as returned byastro_identity_matrix()or other rotation functions
Examples
# Create a rotation and invert it
rot <- astro_identity_matrix()
inv <- astro_inverse_rotation(rot)