Click or drag to resize

binarySearchBinarySearch Method

Performs a binary search.
Performs a binary search using Fielding.
Overload List
  NameDescription
Public methodStatic memberBinarySearchT(IListT, FuncT, Int32)
Public methodStatic memberBinarySearchT(IListT, FuncT, Boolean, binarySearchBooleanBinSearchStyle)
Public methodStatic memberBinarySearchT(IListT, T, IComparerT)
Public methodStatic memberBinarySearch(FuncInt32, Int32, NullableInt32, NullableInt32, Int32)
Performs a binary search on a discrete range from min to max (exclusive). Returns the number for which searcher returns 0.
Public methodStatic memberBinarySearch(FuncInt32, Boolean, NullableInt32, NullableInt32, Int32, binarySearchBooleanBinSearchStyle)
Performs a binary search on a discrete range from min to max (exclusive). Returns the number for which searcher returns either the first or last in the range, depending on the style.
Public methodStatic memberBinarySearchT, V(FuncT, V, T, T, V, T)
Performs a binary search on a range from min to max (exclusive). Returns the number for which searcher is below tolerance (in absolute value).
Top
See Also