ForwardDiff.jl
ForwardDiff.jl copied to clipboard
Simple format for value + derivative
It would be great to be able to do something like
val, drv = ForwardDiff.value_derivative(f, x)
also a simple Newton solver would be handy as well
There's several (simple) ways of constructing the val, drv = ... syntax yourself. But for me, this is more about performance rather than nice syntax, see #401. The value is anyways calculated, so please return it as well, without any overhead.