An Introduction to Complex Step Differentiation
In an old post we went over the finite difference method, where we approximated the derivative of a function by sampling the function at multiple specific points, and then, as the name implies, taking the difference between these points. Finite differencing is both easy to understand and good enough for a lot of problems leading to…