$$ \left.\frac{\partial F_{i}(x)}{\partial x_{j}}\right|{x=x x^{[i]}}=\frac{F{i}\left(x^{[i]}+h e_{j}\right)-F_{i}\left(x^{[i]}\right)}{h} $$
Straight forward just using numpy
Compile using the flags -static-libgcc
and -static-libstdc++
for the std::vectors