File indexing completed on 2025-02-21 10:03:53
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 #ifndef __GSL_SORT_LONG_H__
0021 #define __GSL_SORT_LONG_H__
0022
0023 #include <stdlib.h>
0024 #include <gsl/gsl_errno.h>
0025 #include <gsl/gsl_permutation.h>
0026
0027 #undef __BEGIN_DECLS
0028 #undef __END_DECLS
0029 #ifdef __cplusplus
0030 # define __BEGIN_DECLS extern "C" {
0031 # define __END_DECLS }
0032 #else
0033 # define __BEGIN_DECLS
0034 # define __END_DECLS
0035 #endif
0036
0037 __BEGIN_DECLS
0038
0039 void gsl_sort_long (long * data, const size_t stride, const size_t n);
0040 void gsl_sort2_long (long * data1, const size_t stride1, long * data2, const size_t stride2, const size_t n);
0041 void gsl_sort_long_index (size_t * p, const long * data, const size_t stride, const size_t n);
0042
0043 int gsl_sort_long_smallest (long * dest, const size_t k, const long * src, const size_t stride, const size_t n);
0044 int gsl_sort_long_smallest_index (size_t * p, const size_t k, const long * src, const size_t stride, const size_t n);
0045
0046 int gsl_sort_long_largest (long * dest, const size_t k, const long * src, const size_t stride, const size_t n);
0047 int gsl_sort_long_largest_index (size_t * p, const size_t k, const long * src, const size_t stride, const size_t n);
0048
0049 __END_DECLS
0050
0051 #endif