Description Usage Arguments Value References See Also Examples
A wrapper function to the functionality of the madness package.
Converts a given x to a madness object and then applies func to
it, returning the result and the Jacobian for the transformation func.
adiff is used by the rjmcmcpost function.
1 |
func |
The function to be differentiated (usually user-defined). |
x |
The values at which to evaluate the function |
... |
Further arguments to be passed to |
A numeric vector or matrix containing the result of the function
evaluation func(x, ...). The "gradient" attribute of this
object contains the Jacobian matrix of the transformation func.
Pav, S. E. (2016) Madness: Automatic Differentiation of Multivariate Operations.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.