Debian Codegraph @

external/gsl/gsl_sort__sortvec.c

raw symbols SCIP
1 /*
2 * Implement Heap sort -- direct and indirect sorting
3 * Based on descriptions in Sedgewick "Algorithms in C"
4 *
5 * Copyright (C) 1999 Thomas Walter
6 *
7 * 18 February 2000: Modified for GSL by Brian Gough
8 *
9 * This is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License as published by the
11 * Free Software Foundation; either version 3, or (at your option) any
12 * later version.
13 *
14 * This source is distributed in the hope that it will be useful, but WITHOUT
15 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
17 * for more details.
18 */
19
20 #include "gsl__config.h"
21 #include "gsl_errno.h"
22 #include "gsl_vector.h"
23 #include "gsl_sort.h"
24 #include "gsl_sort_vector.h"
25
26 #define BASE_LONG_DOUBLE
27 #include "templates_on.h"
28 #include "gsl_sort__sortvec_source.c"
29 #include "templates_off.h"
30 #undef BASE_LONG_DOUBLE
31
32 #define BASE_DOUBLE
33 #include "templates_on.h"
34 #include "gsl_sort__sortvec_source.c"
35 #include "templates_off.h"
36 #undef BASE_DOUBLE
37
38 #define BASE_FLOAT
39 #include "templates_on.h"
40 #include "gsl_sort__sortvec_source.c"
41 #include "templates_off.h"
42 #undef BASE_FLOAT
43
44 #define BASE_ULONG
45 #include "templates_on.h"
46 #include "gsl_sort__sortvec_source.c"
47 #include "templates_off.h"
48 #undef BASE_ULONG
49
50 #define BASE_LONG
51 #include "templates_on.h"
52 #include "gsl_sort__sortvec_source.c"
53 #include "templates_off.h"
54 #undef BASE_LONG
55
56 #define BASE_UINT
57 #include "templates_on.h"
58 #include "gsl_sort__sortvec_source.c"
59 #include "templates_off.h"
60 #undef BASE_UINT
61
62 #define BASE_INT
63 #include "templates_on.h"
64 #include "gsl_sort__sortvec_source.c"
65 #include "templates_off.h"
66 #undef BASE_INT
67
68 #define BASE_USHORT
69 #include "templates_on.h"
70 #include "gsl_sort__sortvec_source.c"
71 #include "templates_off.h"
72 #undef BASE_USHORT
73
74 #define BASE_SHORT
75 #include "templates_on.h"
76 #include "gsl_sort__sortvec_source.c"
77 #include "templates_off.h"
78 #undef BASE_SHORT
79
80 #define BASE_UCHAR
81 #include "templates_on.h"
82 #include "gsl_sort__sortvec_source.c"
83 #include "templates_off.h"
84 #undef BASE_UCHAR
85
86 #define BASE_CHAR
87 #include "templates_on.h"
88 #include "gsl_sort__sortvec_source.c"
89 #include "templates_off.h"
90 #undef BASE_CHAR