The R Project SVN R

Rev

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

Rev 18519 Rev 20253
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-2001    Robert Gentleman, Ross Ihaka 
3
 *  Copyright (C) 1998-2002    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 38... Line 38...
38
/* Different kinds of "N(0,1)" generators :*/
38
/* Different kinds of "N(0,1)" generators :*/
39
typedef enum {
39
typedef enum {
40
    KINDERMAN_RAMAGE,
40
    KINDERMAN_RAMAGE,
41
    AHRENS_DIETER,
41
    AHRENS_DIETER,
42
    BOX_MULLER,
42
    BOX_MULLER,
43
    USER_NORM
43
    USER_NORM,
-
 
44
    INVERSION
44
} N01type;
45
} N01type;
45
 
46
 
46
 
47
 
47
void GetRNGstate(void);
48
void GetRNGstate(void);
48
void PutRNGstate(void);
49
void PutRNGstate(void);