![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
| int stan::math::opencl_kernels::binary_search | ( | __global SCAL * | input, |
| int | start, | ||
| int | end, | ||
| SCAL | value | ||
| ) |
Searches for the index of the element that is larger than or equal to given value in given range.
| input | data to search in |
| start | start of the sorted range to search |
| end | end of the sorted range to search |
| value | value to search for |
Definition at line 62 of file mergesort.hpp.