|
STK++ 0.9.13
|
In this file we define an implementation of the heapsort algorithm for IVector containers. More...

Go to the source code of this file.
Namespaces | |
| namespace | STK |
| The namespace STK is the main domain space of the Statistical ToolKit project. | |
Functions | |
| template<class Vector > | |
| void | STK::heapSort (Vector &T) |
| Sort the container T in ascending order. | |
| template<class Vector > | |
| void | STK::heapSort (Vector const &T, Vector &Tsort) |
| Sort the container T in ascending order and return the result in the container Tsort. | |
| template<class Vector , class VectorInt > | |
| void | STK::heapSort (VectorInt &I, Vector const &T) |
| Sort the container T in ascending order using index array. | |
| template<class Vector , class VectorInt > | |
| void | STK::applySort1D (Vector &T, VectorInt const &I) |
| Apply a sorting index array to the 1D container T. | |
| template<class Array , class VectorInt > | |
| void | STK::applySort2D (Array &T, VectorInt const &I) |
| Apply a sorting index array to the 2D container T row by row. | |
In this file we define an implementation of the heapsort algorithm for IVector containers.
Definition in file STK_HeapSort.h.