setUpSearch

fun setUpSearch(aFunction: FunctionIfc, anInterval: Interval, anInitialPoint: Double = (anInterval.lowerLimit + anInterval.upperLimit) / 2.0)

The interval must have a root for the function and the initial point must be within the interval

Parameters

anInterval

the interval to change to

anInitialPoint

the initial point within the interval, default is the mid-point of the interval