Functions to get and set values of the most useful attributes of solver objects.

provides_jacobian(solver)

nparams(solver)

nparams(solver) <- value

required_args(solver)

Arguments

solver

object of class solver

value

numeric scalar, can be NULL

Examples

s <- r_solver(nparams = 10) provides_jacobian(s)
#> [1] TRUE
nparams(s)
#> [1] 10