Setup a deriv_control object
setup_deriv_control(FUN, ...)
a function
arguments passed to FUN
a deriv_control
object
setup_deriv_control() # default
#> An object of class "deriv_control"
#> Slot ".FUN":
#> function (func, x, method = "Richardson", side = NULL, method.args = list(),
#> ...)
#> UseMethod("jacobian")
#> <bytecode: 0x7fea475c26a8>
#> <environment: namespace:numDeriv>
#>
#> Slot ".options":
#> $method
#> [1] "Richardson"
#>
#>
setup_deriv_control(method = "simple") # will speed up computations
#> An object of class "deriv_control"
#> Slot ".FUN":
#> function (func, x, method = "Richardson", side = NULL, method.args = list(),
#> ...)
#> UseMethod("jacobian")
#> <bytecode: 0x7fea475c26a8>
#> <environment: namespace:numDeriv>
#>
#> Slot ".options":
#> $method
#> [1] "simple"
#>
#>