Okay but isn’t that numerical differentiation (i.e. https://en.wikipedia.org/wiki/Numerical_differentiation 2)?
Or is it more like Automatic differentiation using dual numbers (https://en.wikipedia.org/wiki/Automatic_differentiation 9)?