|
Last change
on this file since 3626 was 1474, checked in by cmv, 25 years ago |
|
2 routines de tri bugguee enlevees cmv 19/4/2001
|
|
File size:
822 bytes
|
| Line | |
|---|
| 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 qSort_Float(const void *a1,const void *a2);
|
|---|
| 24 | int qSort_Dble(const void *a1,const void *a2);
|
|---|
| 25 | int qSort_Int(const void *a1,const void *a2);
|
|---|
| 26 | int qSort_Ushort(const void *a1,const void *a2);
|
|---|
| 27 | int qSort_Short(const void *a1,const void *a2);
|
|---|
| 28 |
|
|---|
| 29 | void IndexR4(int_4 n, float* arr_c, int_4* indx_c);
|
|---|
| 30 | void IndexR8(int_4 n, double* arr_c, int_4* indx_c);
|
|---|
| 31 |
|
|---|
| 32 | #ifdef __cplusplus
|
|---|
| 33 | }
|
|---|
| 34 | #endif
|
|---|
| 35 |
|
|---|
| 36 | #endif
|
|---|
| 37 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.