.sfcr_newton {sfcr} | R Documentation |
Newton-Raphson solver implemented with rootSolve::multiroot()
Description
Newton-Raphson solver implemented with rootSolve::multiroot()
Usage
.sfcr_newton(m, equations, periods, max_ite, tol, ...)
Arguments
m |
The initialized matrix obtained with |
equations |
Prepared equations with |
periods |
Total number of rows (periods) in the model. |
max_ite |
Maximum number of iterations allowed per block per period. |
tol |
Tolerance accepted to determine convergence. |
... |
Extra parameters to pass to |
Details
This function implements the Newton-Raphson method to solve the cyclical
blocks of equations. It relies on the multiroot()
function from rootSolve
.
Author(s)
João Macalós
[Package sfcr version 0.2.1 Index]