dsmodels (version 1.1.0)

findFixedPoint: Finds which fixed-point a point will end up at under a certain function.

Description

Finds which fixed-point a point will end up at under a certain function.

Usage

findFixedPoint(x, y, points, eps, tolerance, model, stride)

Arguments

x

A numeric initial x coordinate.

y

A numeric initial y coordinate.

points

A list comprised of x coordinates, y coordinates, such as output by pointsToList. Should represent the attractors of fun.

eps

An epsilon, expected to already be squared, used to determine when a point is closed enough to a fixed point.

tolerance

A, usually smaller, value used to determine when a point has stopped moving without finding a nearby fixpoint.

model

A dsmodel encapsulating the function to be applied.

stride

The number of times to apply the function at each step.