| Rev | Line | |
|---|
| [658] | 1 | /* fonction de tri */
|
|---|
| 2 | /* cmv 23/06/94 */
|
|---|
| 3 |
|
|---|
| 4 | #ifndef NBTRI_H_SEEN
|
|---|
| 5 | #define NBTRI_H_SEEN
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 | #include "machdefs.h"
|
|---|
| 9 |
|
|---|
| 10 | #ifdef __cplusplus
|
|---|
| 11 | extern "C" {
|
|---|
| 12 | #endif
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 | void HeapSort(int n,double *ra_int);
|
|---|
| 16 | void HeapSortF(int n,float *ra_int);
|
|---|
| 17 | void HeapSortF2(int n,float *ra_int,float *ra2_int);
|
|---|
| 18 |
|
|---|
| 19 | int_4 tri_double ( double *tab, int_4 *indx,int_4 N);
|
|---|
| 20 | int_4 tri_float ( float *tab, int_4 *indx,int_4 N);
|
|---|
| 21 | int_4 tri_entier ( int_4 *tab,int_4 *indx,int_4 N);
|
|---|
| 22 |
|
|---|
| 23 | int_4 tri_rapide_I (int_4 *datum,int_4 *index,int_4 N);
|
|---|
| 24 | int_4 tri_rapide_F (float *datum,int_4 *index,int_4 N);
|
|---|
| 25 |
|
|---|
| 26 | int qSort_Float(const void *a1,const void *a2);
|
|---|
| 27 | int qSort_Dble(const void *a1,const void *a2);
|
|---|
| 28 | int qSort_Int(const void *a1,const void *a2);
|
|---|
| 29 | int qSort_Ushort(const void *a1,const void *a2);
|
|---|
| 30 | int qSort_Short(const void *a1,const void *a2);
|
|---|
| 31 |
|
|---|
| 32 | void IndexR4(int_4 n, float* arr_c, int_4* indx_c);
|
|---|
| 33 | void IndexR8(int_4 n, double* arr_c, int_4* indx_c);
|
|---|
| 34 |
|
|---|
| 35 | #ifdef __cplusplus
|
|---|
| 36 | }
|
|---|
| 37 | #endif
|
|---|
| 38 |
|
|---|
| 39 | #endif
|
|---|
| 40 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.