00001 #ifndef __QUICKSELECT_H__
00002 #define __QUICKSELECT_H__
00003
00004 #ifdef __cplusplus
00005 extern "C" {
00006 #endif
00007
00008 unsigned char quick_select(unsigned char *arr, int nelems, int select);
00009 unsigned char quick_select_median(unsigned char *arr, int nelems);
00010
00011 unsigned short quick_select_ushort(unsigned short *arr, int nelems, int select);
00012 unsigned short quick_select_median_ushort(unsigned short *arr, int nelems);
00013
00014 float quick_select_float(float *arr, int nelems, int select);
00015 float quick_select_median_float(float *arr, int nelems);
00016
00017 #ifdef __cplusplus
00018 }
00019 #endif
00020
00021 #endif