BinarySearch


searches sorted list l for key k and gives the position of l containing k, if k is present in l. Otherwise, if k is absent in l, the function returns where k falls between the elements of l in positions and .


gives the position of k in the list obtained from l by applying f to each element in l.

DetailsDetails

New to Mathematica? Find your learning path »
Have a question? Ask support »