BRL-CAD

Minimal Standard RANdom number generator. More...

#include <msr.h>

Data Fields

uint32_t magic
 
long msr_seed
 
int msr_double_ptr
 
double * msr_doubles
 
int msr_long_ptr
 
long * msr_longs
 

Detailed Description

Minimal Standard RANdom number generator.

From:
Stephen K. Park and Keith W. Miller
"Random number generators: good ones are hard to find"
CACM vol 31 no 10, Oct 88

Definition at line 53 of file msr.h.

Field Documentation

uint32_t magic

Definition at line 54 of file msr.h.

Referenced by bn_unif_double_fill(), bn_unif_free(), bn_unif_init(), and bn_unif_long_fill().

long msr_seed

Definition at line 55 of file msr.h.

Referenced by bn_unif_double_fill(), bn_unif_init(), and bn_unif_long_fill().

int msr_double_ptr

Definition at line 56 of file msr.h.

Referenced by bn_unif_double_fill(), and bn_unif_init().

double* msr_doubles

Definition at line 57 of file msr.h.

Referenced by bn_unif_double_fill(), bn_unif_free(), and bn_unif_init().

int msr_long_ptr

Definition at line 58 of file msr.h.

Referenced by bn_unif_init(), and bn_unif_long_fill().

long* msr_longs

Definition at line 59 of file msr.h.

Referenced by bn_unif_free(), bn_unif_init(), and bn_unif_long_fill().


The documentation for this struct was generated from the following file: