summaryrefslogtreecommitdiffhomepage
path: root/src/math/irodeo_rng_t.h
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2023-06-16 01:15:57 -0400
committerrealtradam <[email protected]>2023-06-16 01:15:57 -0400
commit94625b3133193acd22b68595fe922b7228528b11 (patch)
treef7e358545f5043df20695d0cf51dcf8caa10cb12 /src/math/irodeo_rng_t.h
parentacc9db32d765728b63162d6fc74a278d0da10b83 (diff)
downloadRodeoKit-94625b3133193acd22b68595fe922b7228528b11.tar.gz
RodeoKit-94625b3133193acd22b68595fe922b7228528b11.zip
fix matrix wrapper as well as a lot of refactoring cleanupmatrixtemp
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;
+};