sort.cpp File Reference
#include "include.h"
#include "newmatap.h"
Include dependency graph for sort.cpp:
Go to the source code of this file.
|
Namespaces |
namespace | NEWMAT |
Defines |
#define | WANT_MATH |
#define | REPORT {} |
#define | DoSimpleSort 17 |
#define | MaxDepth 50 |
Functions |
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) |
Define Documentation
Function Documentation
static void NEWMAT::InsertionSortAscending |
( |
Real * |
first, |
|
|
const int |
length, |
|
|
int |
guard |
|
) |
[static] |
|
static void NEWMAT::InsertionSortDescending |
( |
Real * |
first, |
|
|
const int |
length, |
|
|
int |
guard |
|
) |
[static] |
|
static void NEWMAT::MyQuickSortAscending |
( |
Real * |
first, |
|
|
Real * |
last, |
|
|
int |
depth |
|
) |
[static] |
|
static void NEWMAT::MyQuickSortDescending |
( |
Real * |
first, |
|
|
Real * |
last, |
|
|
int |
depth |
|
) |
[static] |
|
static Real NEWMAT::SortThreeDescending |
( |
Real * |
a, |
|
|
Real * |
b, |
|
|
Real * |
c |
|
) |
[static] |
|
|