diff options
| author | realtradam <[email protected]> | 2023-06-16 01:15:57 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-06-16 01:15:57 -0400 |
| commit | 94625b3133193acd22b68595fe922b7228528b11 (patch) | |
| tree | f7e358545f5043df20695d0cf51dcf8caa10cb12 /include/rodeo/math/rng_t.h | |
| parent | acc9db32d765728b63162d6fc74a278d0da10b83 (diff) | |
| download | RodeoKit-94625b3133193acd22b68595fe922b7228528b11.tar.gz RodeoKit-94625b3133193acd22b68595fe922b7228528b11.zip | |
fix matrix wrapper as well as a lot of refactoring cleanupmatrixtemp
Diffstat (limited to 'include/rodeo/math/rng_t.h')
| -rw-r--r-- | include/rodeo/math/rng_t.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/rodeo/math/rng_t.h b/include/rodeo/math/rng_t.h new file mode 100644 index 0000000..8c527ed --- /dev/null +++ b/include/rodeo/math/rng_t.h @@ -0,0 +1,16 @@ +#pragma once + +// -- system -- +#include <inttypes.h> + +typedef struct irodeo_math_rng_generator irodeo_math_rng_generator_t; + +typedef +struct +{ + // note: a seed value of '0' is reserved for when using the + // global seed is desired. + uint64_t seed; + irodeo_math_rng_generator_t *data; +} +rodeo_math_rng_generator_t; |
