The R Project SVN R

Rev

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

Rev 44195 Rev 48371
Line 1... Line 1...
1
/*
1
/*
2
 *  R : A Computer Language for Statistical Data Analysis
2
 *  R : A Computer Language for Statistical Data Analysis
3
 *  Copyright (C) 1998-2002    Robert Gentleman, Ross Ihaka 
3
 *  Copyright (C) 1998-2009    Robert Gentleman, Ross Ihaka
4
 *                             and the R Development Core Team
4
 *                             and the R Development Core Team
5
 *
5
 *
6
 *  This program is free software; you can redistribute it and/or modify
6
 *  This program is free software; you can redistribute it and/or modify
7
 *  it under the terms of the GNU Lesser General Public License as published by
7
 *  it under the terms of the GNU Lesser General Public License as published by
8
 *  the Free Software Foundation; either version 2.1 of the License, or
8
 *  the Free Software Foundation; either version 2.1 of the License, or
Line 23... Line 23...
23
 
23
 
24
#ifdef  __cplusplus
24
#ifdef  __cplusplus
25
extern "C" {
25
extern "C" {
26
#endif
26
#endif
27
 
27
 
-
 
28
#include <R_ext/Boolean.h>
-
 
29
 
28
typedef enum {
30
typedef enum {
29
    WICHMANN_HILL,
31
    WICHMANN_HILL,
30
    MARSAGLIA_MULTICARRY,
32
    MARSAGLIA_MULTICARRY,
31
    SUPER_DUPER,
33
    SUPER_DUPER,
32
    MERSENNE_TWISTER,
34
    MERSENNE_TWISTER,
Line 60... Line 62...
60
int * user_unif_nseed(void);
62
int * user_unif_nseed(void);
61
int * user_unif_seedloc(void);
63
int * user_unif_seedloc(void);
62
 
64
 
63
double * user_norm_rand(void);
65
double * user_norm_rand(void);
64
 
66
 
-
 
67
void FixupProb(double *, int, int, Rboolean);
-
 
68
 
65
#ifdef  __cplusplus
69
#ifdef  __cplusplus
66
}
70
}
67
#endif
71
#endif
68
 
72
 
69
#endif /* R_RANDOM_H */
73
#endif /* R_RANDOM_H */