jacobian0 | R Documentation |
Numerical Jacobian Matrix
jacobian0(f, x, args)
f |
Function to differentiate. |
x |
Vector at which to evaluate the Jacobian. |
args |
List of additional arguments from the function |
A list with the form of a jacobian_result
described in section "Jacobian"
of the package vignette.
f = function(x) { cumsum(sin(x)) }
x0 = seq(1, 10, length.out = 5)
args = richardson_args()
out = jacobian0(f, x0, args)
print(out$value)
numDeriv::jacobian(f, x0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.