Yet Another eXchange Tool
0.9.0
|
merge sort declaration More...
Go to the source code of this file.
Functions | |
void | xt_mergesort_idxpos (idxpos_type *v, size_t n) |
void | xt_mergesort_index (Xt_int *a, int n, int *idx, int reset_index) |
merge sort declaration
Definition in file mergesort.h.
void xt_mergesort_idxpos | ( | idxpos_type * | v, |
size_t | n | ||
) |
mergesort changing structured values
[in,out] | v | data to be sorted |
[in] | n | number of elements in v |
void xt_mergesort_index | ( | Xt_int * | a, |
int | n, | ||
int * | idx, | ||
int | reset_index | ||
) |
mergesort changing values and indices
[in,out] | a | data to be sorted |
[in] | n | length of data |
[in,out] | idx | old index of sorted returned a |
[in] | reset_index | override given idx by identity idx |
Definition at line 195 of file mergesort.c.