How to use ForwardDiff?

you probably want the derívative, rather than the gradient.

1 Like