binary_search: Binary search

Description Usage Arguments Value

View source: R/data_generation_utils.R

Description

Binary search

Usage

1
binary_search(fun, target_value, lower, upper, epsilon = 1e-06, ...)

Arguments

fun

a function to test the boundary values

target_value

the target value

lower

a lower boundary

upper

an upper boundary

epsilon

the minimum interval size of lower,upper

...

Value

an approximation of the target value


annloh/austin2011 documentation built on Aug. 22, 2020, 12:13 a.m.