MythTV master
Functions
quickselect.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T >
void ELEM_SWAP (T &a, T &b)
 
template<typename T >
quick_select (T *arr, int nelems, int select)
 
template<typename T >
quick_select_median (T *arr, int nelems)
 

Function Documentation

◆ ELEM_SWAP()

template<typename T >
void ELEM_SWAP ( T &  a,
T &  b 
)

Definition at line 5 of file quickselect.h.

◆ quick_select()

template<typename T >
T quick_select ( T *  arr,
int  nelems,
int  select 
)

Definition at line 13 of file quickselect.h.

◆ quick_select_median()

template<typename T >
T quick_select_median ( T *  arr,
int  nelems 
)

Definition at line 67 of file quickselect.h.