Description Usage Arguments Format Details Value Author(s) See Also Examples
nlsolve sequentially tries multiple nonliear equation solvers
until a solution is found or all solvers have been tried.
1 2 3 |
start |
A numeric vector of starting values. |
func |
An objective function of which the zeros are sought. |
solvers |
A (named) list, with each element being itself
a list with components named |
control |
See the |
... |
Additional arguments. |
nlSolvers is currently a named list of length 8.
Currently supported solvers are c('broyden', 'nleqslv.Broyden',
'nleqslv.Newton','fsolve','newtonsys','sane','dfsane','BBsolve').
They are respectively broyden in the pracma
package, nleqslv in the nleqslv with
method='Broyden' or with method='Newton', functions
fsolve and newtonsys
in the pracma package, and functions sane,
dfsane, and BBsolve in the
BB package.
If at least one solver succeeds, a numeric vector of solutions
will be returned, with attribute attr(*, 'nlsolve.metho')
set to a string indicating the name of the success solver being used,
and with attribute attr(*, 'nlsolve.success') being a logical
scalar indicating whether any solver succeeded. When all solvers
fail, the last one is returned, but with nlsolve.success being
set to FALSE.
Long Qu
broyden, nleqslv,
fsolve, newtonsys,
sane, dfsane, BBsolve,
glmsolve.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.