# Inverse of geometry_msgs/pose

What's the best way to find the inverse of a geometry_msgs/Pose message?

Or in general to perform any other matrix manipulations. Does ROS provide a library or functions to do so? And if not, which is the default method used by the ROS community?