Comment Comment by cameronperot One could, but automatic differentiation is much more efficient than numerical differentiation, thus for high performance applications it is preferable to use automatic differentiation. parent cameronperot 5 years ago