Examples of forward-difference, automatic differentiation and complex-step Jacobian calculation in a Newton-Raphson solver.