Description Usage Arguments Value Examples
Performs numerical differentiation of a function at a specific point. Uses some numerical tricks to always achieve a reliable, though not necessarily optimal, error.
1 | num_grad(f, x)
|
f |
The function for which the gradient is desired. |
x |
The point at which the gradient should be approximated. |
The gradient of the function 'f' at 'x'.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.