The R Project SVN R

Rev

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

Rev 72356 Rev 76160
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-2016    The R Core Team
3
 *  Copyright (C) 1998-2019    The R Core Team
4
 *
4
 *
5
 *  This header file is free software; you can redistribute it and/or modify
5
 *  This header file is free software; you can redistribute it and/or modify
6
 *  it under the terms of the GNU Lesser General Public License as published by
6
 *  it under the terms of the GNU Lesser General Public License as published by
7
 *  the Free Software Foundation; either version 2.1 of the License, or
7
 *  the Free Software Foundation; either version 2.1 of the License, or
8
 *  (at your option) any later version.
8
 *  (at your option) any later version.
Line 51... Line 51...
51
    USER_NORM,
51
    USER_NORM,
52
    INVERSION,
52
    INVERSION,
53
    KINDERMAN_RAMAGE
53
    KINDERMAN_RAMAGE
54
} N01type;
54
} N01type;
55
 
55
 
-
 
56
/* Different ways to generate discrete uniform samples */
-
 
57
typedef enum {
-
 
58
    ROUNDING,
-
 
59
    REJECTION
-
 
60
} Sampletype;
56
 
61
 
57
void GetRNGstate(void);
62
void GetRNGstate(void);
58
void PutRNGstate(void);
63
void PutRNGstate(void);
59
 
64
 
60
double unif_rand(void);
65
double unif_rand(void);