The R Project SVN R

Rev

Rev 10996 | Rev 18519 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10996 Rev 11211
Line 19... Line 19...
19
 */
19
 */
20
 
20
 
21
#ifndef R_RANDOM_H
21
#ifndef R_RANDOM_H
22
#define R_RANDOM_H
22
#define R_RANDOM_H
23
 
23
 
-
 
24
#ifdef  __cplusplus
-
 
25
extern "C" {
-
 
26
#endif
-
 
27
 
24
typedef enum {
28
typedef enum {
25
    WICHMANN_HILL,
29
    WICHMANN_HILL,
26
    MARSAGLIA_MULTICARRY,
30
    MARSAGLIA_MULTICARRY,
27
    SUPER_DUPER,
31
    SUPER_DUPER,
28
    MERSENNE_TWISTER,
32
    MERSENNE_TWISTER,
Line 52... Line 56...
52
void user_unif_init(Int32);
56
void user_unif_init(Int32);
53
int * user_unif_nseed();
57
int * user_unif_nseed();
54
int * user_unif_seedloc();
58
int * user_unif_seedloc();
55
 
59
 
56
double * user_norm_rand();
60
double * user_norm_rand();
-
 
61
 
-
 
62
#ifdef  __cplusplus
-
 
63
}
57
#endif
64
#endif
-
 
65
 
-
 
66
#endif /* R_RANDOM_H */