AutodiffPythonCpp Create gradients and hessians from sympy (and use Eigen in C++) Installation make install Example python example.py This will generate sphere_capsule.h and sphere_capsule.cpp.