Create function calculating the numerical gradient
numGrad(func, ...)
A gradient function
Function to get gradient of.
Arguments passed to numDeriv::grad().
numGrad(sin)
Run the code above in your browser using DataLab