fixedpoint_show: A function of the fixed point algorithm.

Description Usage Arguments Details Value References See Also

View source: R/fixedpoint_show.R

Description

Applies the fixed point algorithm to find x such that ftn(x) == x, and plots the process.

Usage

1
fixedpoint_show(ftn, x0, xmin = x0 - 1, xmax = x0 + 1)

Arguments

ftn

the function.

x0

is the initial guess at the fixed point.

xmin

~~Describe xmin here~~

xmax

~~Describe xmax here~~

Details

We assume that ftn is a function of a single variable.

Value

Returns the value of x at which ftn(x) == x. If the function fails to converge within max.iter iterations, returns NULL.

References

Jones, O.D., R. Maillardet, and A.P. Robinson. 2009. An Introduction to Scientific Programming and Simulation, Using R. Chapman And Hall/CRC.

See Also

fixedpoint


spuRs documentation built on May 2, 2019, 12:44 p.m.

Related to fixedpoint_show in spuRs...