Added script front-end for primer-design code
[htsworkflow.git] / htswanalysis / MACS / lib / gsl / gsl-1.11 / sort / subset.c
1 /* sort/subset.c  
2  *
3  * Copyright (C) 2001, 2007 Brian Gough
4  *
5  * This is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License as published by the
7  * Free Software Foundation; either version 3, or (at your option) any
8  * later version.
9  *
10  * This source is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
13  * for more details.
14  */
15
16 #include <config.h>
17 #include <gsl/gsl_errno.h>
18 #include <gsl/gsl_vector.h>
19 #include <gsl/gsl_sort.h>
20 #include <gsl/gsl_sort_vector.h>
21
22 #define BASE_LONG_DOUBLE
23 #include "templates_on.h"
24 #include "subset_source.c"
25 #include "templates_off.h"
26 #undef  BASE_LONG_DOUBLE
27
28 #define BASE_DOUBLE
29 #include "templates_on.h"
30 #include "subset_source.c"
31 #include "templates_off.h"
32 #undef  BASE_DOUBLE
33
34 #define BASE_FLOAT
35 #include "templates_on.h"
36 #include "subset_source.c"
37 #include "templates_off.h"
38 #undef  BASE_FLOAT
39
40 #define BASE_ULONG
41 #include "templates_on.h"
42 #include "subset_source.c"
43 #include "templates_off.h"
44 #undef  BASE_ULONG
45
46 #define BASE_LONG
47 #include "templates_on.h"
48 #include "subset_source.c"
49 #include "templates_off.h"
50 #undef  BASE_LONG
51
52 #define BASE_UINT
53 #include "templates_on.h"
54 #include "subset_source.c"
55 #include "templates_off.h"
56 #undef  BASE_UINT
57
58 #define BASE_INT
59 #include "templates_on.h"
60 #include "subset_source.c"
61 #include "templates_off.h"
62 #undef  BASE_INT
63
64 #define BASE_USHORT
65 #include "templates_on.h"
66 #include "subset_source.c"
67 #include "templates_off.h"
68 #undef  BASE_USHORT
69
70 #define BASE_SHORT
71 #include "templates_on.h"
72 #include "subset_source.c"
73 #include "templates_off.h"
74 #undef  BASE_SHORT
75
76 #define BASE_UCHAR
77 #include "templates_on.h"
78 #include "subset_source.c"
79 #include "templates_off.h"
80 #undef  BASE_UCHAR
81
82 #define BASE_CHAR
83 #include "templates_on.h"
84 #include "subset_source.c"
85 #include "templates_off.h"
86 #undef  BASE_CHAR