dot-sfcr_newton: Newton-Raphson solver implemented with...

Description Usage Arguments Details Author(s)

Description

Newton-Raphson solver implemented with rootSolve::multiroot()

Usage

1
.sfcr_newton(m, equations, periods, max_ite, tol, ...)

Arguments

m

The initialized matrix obtained with .make_matrix().

equations

Prepared equations with .prep_equations().

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 rootSolve::multiroot().

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


sfcr documentation built on Oct. 11, 2021, 9:09 a.m.