17 #if !defined(OPENNURBS_RANDOM_NUMBER_INC_) 18 #define OPENNURBS_RANDOM_NUMBER_INC_ 48 void on_random_number_seed(
76 ON__UINT32 on_random_number(
90 void on_srand(ON__UINT32 s);
101 ON__UINT32 on_rand(
void);
107 #if defined(ON_CPLUSPLUS) 109 class ON_CLASS ON_RandomNumberGenerator
112 ON_RandomNumberGenerator();
120 void Seed( ON__UINT32 s );
132 ON__UINT32 RandomNumber();
138 double RandomDouble();
144 double RandomDouble(
double t0,
double t1);
157 void RandomPermutation(
void* base,
size_t nel,
size_t sizeof_element );
ON__UINT32 mti
Definition: opennurbs_rand.h:24
ON__UINT32 mt[624]
Definition: opennurbs_rand.h:25
Definition: opennurbs_rand.h:22