prepare_nleqslv_args: Assemble arguments for nleqslv
Description
Extracts and assembles the solver settings from a control object created
by `pw_solver_control()` into the format expected by `nleqslv::nleqslv()`.
Usage
prepare_nleqslv_args(control)
Value
A list with components `method`, `global`, `xscalm`, and `control`
(containing `ftol`, `xtol`, `maxit`, `trace`, and any user-supplied
extras from `nleqslv_control`).