4 int isorti_ (int64_t *nl, int64_t *list, int64_t *, int64_t *key)
7 static int64_t i, j, k, l,
m;
9 static int64_t ij, il[21], iu[21];
37 if (r > (
float) .5898437)
42 r += (float) .0390625;
48 ij = i + (int)((j - i) * r);
49 t = (double) key[list[ij]];
53 if ((
double) key[list[i]] > t)
55 tt = (double) list[ij];
58 t = (double) key[list[ij]];
66 if ((
double) key[list[j]] < t)
68 tt = (double) list[ij];
71 t = (double) key[list[ij]];
74 if ((
double) key[list[i]] > t)
76 tt = (double) list[ij];
79 t = (double) key[list[ij]];
86 if ((
double) key[list[l]] > t)
94 if ((
double) key[list[k]] < t)
101 if (key[list[l]] != key[list[k]])
103 tt = (double) list[l];
151 t = (double) key[list[i + 1]];
153 if ((
double) key[list[i]] <= t)
159 list[k + 1] = list[k];
161 if (t < (
double) key[list[k]])
int isorti_(int64_t *nl, int64_t *list, int64_t *, int64_t *key)
clarg::argString m("-m", "input matrix file name (text format)", "matrix.txt")