X-shooter Pipeline Reference Manual 3.8.15
xsh_model_r250.h
Go to the documentation of this file.
1/* $Id: xsh_model_r250.h,v 1.3 2008-05-23 09:07:09 amodigli Exp $
2 *
3 * This file is part of the ESO X-shooter Pipeline
4 * Copyright (C) 2006 European Southern Observatory
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21/* r250.h prototypes for r250 random number generator,
22
23 Kirkpatrick, S., and E. Stoll, 1981; "A Very Fast
24 Shift-Register Sequence Random Number Generator",
25 Journal of Computational Physics, V.40
26
27 also:
28
29 see W.L. Maier, DDJ May 1991
30
31
32*/
33
34#ifndef _R250_H_
35#define _R250_H_ 1.2
36
37#ifdef __cplusplus
38extern "C" {
39#endif
40
41#ifdef NO_PROTO
42void xsh_r250_init();
43unsigned int r250();
44double xsh_dr250();
45
46#else
47void xsh_r250_init(int seed);
48unsigned int r250( void );
49double xsh_dr250( void );
50#endif
51
52#ifdef __cplusplus
53}
54#endif
55
56#endif
double xsh_dr250(void)
void xsh_r250_init(int seed)
unsigned int r250(void)