binary_search

searches for y in x

Syntax

ind = binary_search(x,y)

Input

x

double

y

double

Output

ind

integer