Manifold-aware learning for robot trajectory design: Riemannian optimization on the Stiefel manifold | Synapse