-
[physik/nlsop.git] / random.h
1 /*
2  * random functions - header
3  *
4  * author: hackbard@hackdaworld.dyndns.org
5  *
6  */
7
8 #include "nlsop.h"
9 #include <math.h>
10 #include <stdio.h>
11
12 /* function prototypes */
13 int rand_init(char *rf);
14 int rand_close(void);
15 u32 get_rand(u32 max);
16 u32 get_rand_lgp(u32 max,double a,double b);
17
18 #define BUFSIZE (16*1048576) /* 64 MByte */
19 #define URAND_MAX 0xffffffff
20