The R Project SVN R

Rev

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

Rev 86515 Rev 90299
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-2022    The R Core Team
3
 *  Copyright (C) 1998-2026    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 58... Line 58...
58
    ROUNDING,
58
    ROUNDING,
59
    REJECTION
59
    REJECTION
60
} Sampletype;
60
} Sampletype;
61
Sampletype R_sample_kind(void);
61
Sampletype R_sample_kind(void);
62
 
62
 
-
 
63
/* Different kinds of "Bin(n,p)" generators :*/
-
 
64
typedef enum {
-
 
65
    BUGGY_BTPE
-
 
66
  , BTPE
-
 
67
  // if you add a new option, update Bin_kind()'s check in RNG.c
-
 
68
} Binomtype;
-
 
69
Binomtype R_binom_kind(void);
-
 
70
 
-
 
71
 
63
void GetRNGstate(void);
72
void GetRNGstate(void);
64
void PutRNGstate(void);
73
void PutRNGstate(void);
65
 
74
 
66
double unif_rand(void);
75
double unif_rand(void);
67
double R_unif_index(double);
76
double R_unif_index(double);