newtonRapson: Function for Newton Rapson roots for given equations

Description Usage Arguments Value

View source: R/newtonRapshon.R

Description

newtonRapson function perform optimization

Usage

1
newtonRapson(f, x, iteration = 30, tol = 1e-09)

Arguments

f

: function to optimize

x

: Initial Solution

iteration

: Iterations

tol

: Tolerance

Value

x : optimal roots


optR documentation built on May 29, 2017, 2:10 p.m.