Click or drag to resize
Accord.NET (logo)

BinarySearch Constructor

Constructs a new Binary search algorithm.

Namespace:  Accord.Math.Optimization
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public BinarySearch(
	Func<int, double> function,
	int a,
	int b
)
Request Example View Source

Parameters

function
Type: SystemFuncInt32, Double
The function to be searched.
a
Type: SystemInt32
Start of search region (inclusive).
b
Type: SystemInt32
End of search region (exclusive).
See Also