3 * Copyright (C) 2001, 2007 Brian Gough
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3 of the License, or (at
8 * your option) any later version.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 #include <gsl/gsl_rng.h>
26 const gsl_rng_type * gsl_rng_generator_types[N];
28 #define ADD(t) {if (i==N) abort(); gsl_rng_generator_types[i] = (t); i++; };
31 gsl_rng_types_setup (void)
35 ADD(gsl_rng_borosh13);
38 ADD(gsl_rng_fishman18);
39 ADD(gsl_rng_fishman20);
40 ADD(gsl_rng_fishman2x);
42 ADD(gsl_rng_knuthran);
43 ADD(gsl_rng_knuthran2);
44 ADD(gsl_rng_knuthran2002);
45 ADD(gsl_rng_lecuyer21);
49 ADD(gsl_rng_mt19937_1999);
50 ADD(gsl_rng_mt19937_1998);
58 ADD(gsl_rng_random128_bsd);
59 ADD(gsl_rng_random128_glibc2);
60 ADD(gsl_rng_random128_libc5);
61 ADD(gsl_rng_random256_bsd);
62 ADD(gsl_rng_random256_glibc2);
63 ADD(gsl_rng_random256_libc5);
64 ADD(gsl_rng_random32_bsd);
65 ADD(gsl_rng_random32_glibc2);
66 ADD(gsl_rng_random32_libc5);
67 ADD(gsl_rng_random64_bsd);
68 ADD(gsl_rng_random64_glibc2);
69 ADD(gsl_rng_random64_libc5);
70 ADD(gsl_rng_random8_bsd);
71 ADD(gsl_rng_random8_glibc2);
72 ADD(gsl_rng_random8_libc5);
73 ADD(gsl_rng_random_bsd);
74 ADD(gsl_rng_random_glibc2);
75 ADD(gsl_rng_random_libc5);
79 ADD(gsl_rng_ranlux389);
90 ADD(gsl_rng_transputer);
95 ADD(gsl_rng_waterman14);
99 return gsl_rng_generator_types;