From 94625b3133193acd22b68595fe922b7228528b11 Mon Sep 17 00:00:00 2001 From: realtradam Date: Fri, 16 Jun 2023 01:15:57 -0400 Subject: fix matrix wrapper as well as a lot of refactoring cleanup --- src/math/irodeo_rng_t.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/math/irodeo_rng_t.h (limited to 'src/math/irodeo_rng_t.h') 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; +}; -- cgit v1.2.3