File indexing completed on 2025-02-21 10:03:54
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 #ifndef __GSL_SORT_VECTOR_INT_H__
0021 #define __GSL_SORT_VECTOR_INT_H__
0022
0023 #include <stdlib.h>
0024 #include <gsl/gsl_errno.h>
0025 #include <gsl/gsl_permutation.h>
0026 #include <gsl/gsl_vector_int.h>
0027
0028 #undef __BEGIN_DECLS
0029 #undef __END_DECLS
0030 #ifdef __cplusplus
0031 # define __BEGIN_DECLS extern "C" {
0032 # define __END_DECLS }
0033 #else
0034 # define __BEGIN_DECLS
0035 # define __END_DECLS
0036 #endif
0037
0038 __BEGIN_DECLS
0039
0040 void gsl_sort_vector_int (gsl_vector_int * v);
0041 void gsl_sort_vector2_int (gsl_vector_int * v1, gsl_vector_int * v2);
0042 int gsl_sort_vector_int_index (gsl_permutation * p, const gsl_vector_int * v);
0043
0044 int gsl_sort_vector_int_smallest (int * dest, const size_t k, const gsl_vector_int * v);
0045 int gsl_sort_vector_int_largest (int * dest, const size_t k, const gsl_vector_int * v);
0046
0047 int gsl_sort_vector_int_smallest_index (size_t * p, const size_t k, const gsl_vector_int * v);
0048 int gsl_sort_vector_int_largest_index (size_t * p, const size_t k, const gsl_vector_int * v);
0049
0050 __END_DECLS
0051
0052 #endif