VEX Dictionary / findsorted
findsorted
Binary-searches a sorted array for a target value's first occurrence, faster than find.
group: arrayarray
Available in every context
Usage
int findsorted(<type> array[]; <type> target)
int findsorted(<type> array[]; <type> target; int start)
int findsorted(<type> array[]; <type> target; int start; int end)
Examples
No worked examples yet.
Signatures (from vcc -X)
int findsorted(float[], float)all contextsint findsorted(float[], float, int)all contextsint findsorted(float[], float, int, int)all contextsint findsorted(int[], int)all contextsint findsorted(int[], int, int)all contextsint findsorted(int[], int, int, int)all contextsint findsorted(string[], string)all contextsint findsorted(string[], string, int)all contextsint findsorted(string[], string, int, int)all contexts