Machine Learning, Optimization, Differentiation, Neural Networks, Control.
with respect to x2, i.e. Fig8. Partial derivative with respect to x2 If you perform the partial derivatives by hand you would obtain the same results. In case if you have n variables, then for n times the seed vector has to cycled with one component of the vector being one and the rest being zero.