summaryrefslogtreecommitdiffhomepage
path: root/src/math/irodeo_rng_t.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/irodeo_rng_t.h')
-rw-r--r--src/math/irodeo_rng_t.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/math/irodeo_rng_t.h b/src/math/irodeo_rng_t.h
new file mode 100644
index 0000000..0419496
--- /dev/null
+++ b/src/math/irodeo_rng_t.h
@@ -0,0 +1,23 @@
+#pragma once
+
+// -- internal --
+// public
+#include "rodeo/math/rng_t.h"
+// private
+#include "math/irodeo_rng_t.h"
+
+// -- external --
+#include "stc/crand.h"
+
+typedef
+struct
+{
+ rodeo_math_rng_generator_t global_generator;
+}
+irodeo_math_rng_state_t;
+
+struct
+irodeo_math_rng_generator
+{
+ crand_t crand;
+};