qksort.h File Reference

File that contains template quick sorting function. More...

Namespaces

namespace  OFELI
 A namespace to group all library classes, functions, ...
 

Functions

template<class T_ >
void QuickSort (std::vector< T_ > &a, int begin, int end)
 Function to sort a vector.
 
template<class T_ >
void qksort (std::vector< T_ > &a, int begin, int end)
 Function to sort a vector.
 
template<class T_ , class C_ >
void qksort (std::vector< T_ > &a, int begin, int end, C_ compare)
 Function to sort a vector according to a key function.
 

Detailed Description

File that contains template quick sorting function.