I can do this for myself using the compute_log_map function, but it'd be good to have the implementation in the C++ code with bindings.