Go to the source code of this file.
Data Structures | |
struct | MQArrayFinder |
Finds indices of elements in an array that are close to queried values. More... | |
Typedefs | |
typedef MQArrayFinder | MQArrayFinder |
Enumerations | |
enum | { MQARRAY_FINDER_CMP_RIGHT_BIAS, MQARRAY_FINDER_CMP_LEFT_BIAS } |
Functions | |
void | MQArrayFinder_init (MQArrayFinder *finder, const void *data, size_t size_of_element, void *(*getElement)(const void *, unsigned int), void(*addElements)(const void *, const void *, const void *), int(*cmpElements)(const void *, const void *)) |
void | MQArrayFinder_destroy (MQArrayFinder *finder) |
int | MQArrayFinder_getIndexClosestToValue (MQArrayFinder *finder, int start, int stop, const void *p) |
int | MQArrayFinder_getIndicesWithinInterval (MQArrayFinder *finder, int start, int stop, int *i, int *j, const void *p, const void *q) |
Variables | |
int | MQARRAY_FINDER_CMP_MODE |