YetAnotherCoupler 3.2.0_a
Loading...
Searching...
No Matches
Macros | Functions
quicksort_template_2.h File Reference
This graph shows which files directly or indirectly include this file:

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)
 

Macro Definition Documentation

◆ MAX_STACK_SIZE

#define MAX_STACK_SIZE   (64)

Definition at line 5 of file quicksort_template_2.h.

Function Documentation

◆ YAC_QSORT_NAME()

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:

Parameters
[in,out]adata to be sorted
[in]nlength of data
[out]barrays sorting along with a
[out]carrays sorting along with a

Definition at line 26 of file quicksort_template_2.h.