|
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
)
Public Sub New (
function As Func(Of Integer, Double),
a As Integer,
b As Integer
)
Request Example
View SourceParameters
- 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