YetAnotherCoupler 3.2.0_a
|
Go to the source code of this file.
Macros | |
#define | MAX_STACK_SIZE (64) |
Functions | |
void | YAC_QSORT_NAME (YAC_QSORT_ARRAY_TYPE_A *a, size_t n, YAC_QSORT_ARRAY_TYPE_B *b, YAC_QSORT_ARRAY_TYPE_C *c) |
#define MAX_STACK_SIZE (64) |
Definition at line 5 of file quicksort_template_2.h.
void YAC_QSORT_NAME | ( | YAC_QSORT_ARRAY_TYPE_A * | a, |
size_t | n, | ||
YAC_QSORT_ARRAY_TYPE_B * | b, | ||
YAC_QSORT_ARRAY_TYPE_C * | c | ||
) |
Non-recursive stack version of Quicksort
... from N. Wirth's Pascal Book, 'Algorithms + Data Structures = Programms'. by Alan Miller ( 19 Jul 1995 )
taken from:
http://www.nag.com/nagware/Examples/nur.f90
see also:
[in,out] | a | data to be sorted |
[in] | n | length of data |
[out] | b | arrays sorting along with a |
[out] | c | arrays sorting along with a |
Definition at line 26 of file quicksort_template_2.h.