#include "include.h"
#include "newmatap.h"
Go to the source code of this file.
Defines |
#define | DoSimpleSort 17 |
#define | MaxDepth 50 |
#define | REPORT {} |
#define | WANT_MATH |
Functions |
static void | InsertionSortAscending (Real *first, const int length, int guard) |
static void | InsertionSortDescending (Real *first, const int length, int guard) |
static void | MyQuickSortAscending (Real *first, Real *last, int depth) |
static void | MyQuickSortDescending (Real *first, Real *last, int depth) |
void | SortAscending (GeneralMatrix &GM) |
void | SortDescending (GeneralMatrix &GM) |
void | SortSV (DiagonalMatrix &D, Matrix &U, bool ascending) |
void | SortSV (DiagonalMatrix &D, Matrix &U, Matrix &V, bool ascending) |
static Real | SortThreeDescending (Real *a, Real *b, Real *c) |
Define Documentation
Function Documentation
void SortSV |
( |
DiagonalMatrix & |
D, |
|
|
Matrix & |
U, |
|
|
bool |
ascending |
|
) |
| |
void SortSV |
( |
DiagonalMatrix & |
D, |
|
|
Matrix & |
U, |
|
|
Matrix & |
V, |
|
|
bool |
ascending |
|
) |
| |