X-shooter Pipeline Reference Manual 3.8.15
xsh_model_randlcg.h
Go to the documentation of this file.
1/* $Id: xsh_model_randlcg.h,v 1.6 2008-05-23 09:07:49 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/* xsh_randlcg.h prototypes for the minimal standard random number generator,
22
23 Linear Congruential Method, the "minimal standard generator"
24 Park & Miller, 1988, Comm of the ACM, 31(10), pp. 1192-1201
25
26
27 rcsid: @(#)xsh_randlcg.h 1.1 15:48:09 11/21/94 EFC
28
29*/
30
31#ifndef XSH_MODEL_RANDLCG_H
32#define XSH_MODEL_RANDLCG_H 1.1
33
34long get_seed(void);
35unsigned long int xsh_randlcg(void);
36long xsh_set_seed(long int);
37
38#endif
39
long get_seed(void)
long xsh_set_seed(long int)
unsigned long int xsh_randlcg(void)