48 #define __FUNC__ "shellSort_int"
58 for (j = 0; j <
max; j++)
60 for (k = j; k >= 0; k -= m)
74 #define __FUNC__ "shellSort_float"
85 for (j = 0; j <
max; j++)
87 for (k = j; k >= 0; k -= m)
103 #define __FUNC__ "shellSort_int_float"
105 shellSort_int_float (
int n,
int *x, VAL_DH * xVals)
114 for (j = 0; j <
max; j++)
116 for (k = j; k >= 0; k -= m)
118 if (x[k + m] >= x[k])
121 atemp = xVals[k + m];
void shellSort_float(const int n, double *x)
void shellSort_int(const int n, int *x)