@spiceErrorCheck<EOL>def bsrchd(value, ndim, array):
value = ctypes.c_double(value)<EOL>ndim = ctypes.c_int(ndim)<EOL>array = stypes.toDoubleVector(array)<EOL>return libspice.bsrchd_c(value, ndim, array)<EOL>
Do a binary search for a key value within a double precision array,
assumed to be in increasing order. Return the index of the matching
array entry, or -1 if the key value is not found.

http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/bsrchd_c.html

:param value: Value to find in array.
:type value: float
:param ndim: Dimension of array.
:type ndim: int
:param array: Array to be searched.
:type array: Array of floats
:return: index
:rtype: int