The R Project SVN R

Rev

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

Rev 48371 Rev 56570
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-2009    Robert Gentleman, Ross Ihaka
3
 *  Copyright (C) 1998-2011    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 32... Line 32...
32
    MARSAGLIA_MULTICARRY,
32
    MARSAGLIA_MULTICARRY,
33
    SUPER_DUPER,
33
    SUPER_DUPER,
34
    MERSENNE_TWISTER,
34
    MERSENNE_TWISTER,
35
    KNUTH_TAOCP,
35
    KNUTH_TAOCP,
36
    USER_UNIF,
36
    USER_UNIF,
37
    KNUTH_TAOCP2
37
    KNUTH_TAOCP2,
-
 
38
    LECUYER_CMRG
38
} RNGtype;
39
} RNGtype;
39
 
40
 
40
/* Different kinds of "N(0,1)" generators :*/
41
/* Different kinds of "N(0,1)" generators :*/
41
typedef enum {
42
typedef enum {
42
    BUGGY_KINDERMAN_RAMAGE,
43
    BUGGY_KINDERMAN_RAMAGE,