source: Sophya/trunk/SophyaLib/NTools/nbtri.h@ 4063

Last change on this file since 4063 was 1474, checked in by cmv, 24 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
11extern "C" {
12#endif
13
14
15void HeapSort(int n,double *ra_int);
16void HeapSortF(int n,float *ra_int);
17void HeapSortF2(int n,float *ra_int,float *ra2_int);
18
19int_4 tri_double ( double *tab, int_4 *indx,int_4 N);
20int_4 tri_float ( float *tab, int_4 *indx,int_4 N);
21int_4 tri_entier ( int_4 *tab,int_4 *indx,int_4 N);
22
23int qSort_Float(const void *a1,const void *a2);
24int qSort_Dble(const void *a1,const void *a2);
25int qSort_Int(const void *a1,const void *a2);
26int qSort_Ushort(const void *a1,const void *a2);
27int qSort_Short(const void *a1,const void *a2);
28
29void IndexR4(int_4 n, float* arr_c, int_4* indx_c);
30void 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.