Go to the source code of this file.
#define | WANT_MATH |
#define | REPORT {} |
#define | DoSimpleSort 17 |
#define | MaxDepth 50 |
static void | MyQuickSortDescending (Real *first, Real *last, int depth) |
static void | InsertionSortDescending (Real *first, const int length, int guard) |
static Real | SortThreeDescending (Real *a, Real *b, Real *c) |
static void | MyQuickSortAscending (Real *first, Real *last, int depth) |
static void | InsertionSortAscending (Real *first, const int length, int guard) |
void | sort_descending (GeneralMatrix &GM) |
void | sort_ascending (GeneralMatrix &GM) |
void | SortSV (DiagonalMatrix &D, Matrix &U, bool ascending) |
void | SortSV (DiagonalMatrix &D, Matrix &U, Matrix &V, bool ascending) |
Sorting functions.
Definition in file sort.cpp.
#define DoSimpleSort 17 |
static void InsertionSortAscending | ( | Real * | first, |
const int | length, | ||
int | guard | ||
) | [static] |
static void InsertionSortDescending | ( | Real * | first, |
const int | length, | ||
int | guard | ||
) | [static] |
static void MyQuickSortAscending | ( | Real * | first, |
Real * | last, | ||
int | depth | ||
) | [static] |
static void MyQuickSortDescending | ( | Real * | first, |
Real * | last, | ||
int | depth | ||
) | [static] |
void sort_ascending | ( | GeneralMatrix & | GM | ) |
void sort_descending | ( | GeneralMatrix & | GM | ) |
void SortSV | ( | DiagonalMatrix & | D, |
Matrix & | U, | ||
bool | ascending | ||
) |
void SortSV | ( | DiagonalMatrix & | D, |
Matrix & | U, | ||
Matrix & | V, | ||
bool | ascending | ||
) |