This has nothing to do with trajectories specifically, so this should actually be in `roboptim-core`.