ad_variant
is a helper function which creates variant functions more suitable for automatic differentiation.
1 | ad_variant(f, checkArgs = NULL, silent = FALSE)
|
f |
the original function. |
checkArgs |
if given, then the original function and the new version will be checked on the argument(s). If it's a list, then it will be regarded as a list of arguments; otherwise it will be regarded as the only argument. |
silent |
whether to silence the message printed by |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.