RAPI
Typedefs | Enumerations | Functions
R_ext/Random.h File Reference
#include <R_ext/Boolean.h>
Include dependency graph for Random.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef unsigned int Int32

Enumerations

enum  RNGtype {
  WICHMANN_HILL, MARSAGLIA_MULTICARRY, SUPER_DUPER, MERSENNE_TWISTER,
  KNUTH_TAOCP, USER_UNIF, KNUTH_TAOCP2, LECUYER_CMRG
}
enum  N01type {
  BUGGY_KINDERMAN_RAMAGE, AHRENS_DIETER, BOX_MULLER, USER_NORM,
  INVERSION, KINDERMAN_RAMAGE
}

Functions

void GetRNGstate (void)
void PutRNGstate (void)
double unif_rand (void)
double norm_rand (void)
double exp_rand (void)
double * user_unif_rand (void)
void user_unif_init (Int32)
int * user_unif_nseed (void)
int * user_unif_seedloc (void)
double * user_norm_rand (void)

Typedef Documentation

typedef unsigned int Int32

Enumeration Type Documentation

enum N01type
Enumerator:
BUGGY_KINDERMAN_RAMAGE 
AHRENS_DIETER 
BOX_MULLER 
USER_NORM 
INVERSION 
KINDERMAN_RAMAGE 
enum RNGtype
Enumerator:
WICHMANN_HILL 
MARSAGLIA_MULTICARRY 
SUPER_DUPER 
MERSENNE_TWISTER 
KNUTH_TAOCP 
USER_UNIF 
KNUTH_TAOCP2 
LECUYER_CMRG 

Function Documentation

double exp_rand ( void  )
void GetRNGstate ( void  )
double norm_rand ( void  )
void PutRNGstate ( void  )
double unif_rand ( void  )
double* user_norm_rand ( void  )
void user_unif_init ( Int32  )
int* user_unif_nseed ( void  )
double* user_unif_rand ( void  )
int* user_unif_seedloc ( void  )
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines