Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring Mersenne Twister code into morphologica #3

Closed
sebjameswml opened this issue Oct 2, 2019 · 7 comments
Closed

Bring Mersenne Twister code into morphologica #3

sebjameswml opened this issue Oct 2, 2019 · 7 comments

Comments

@sebjameswml
Copy link
Collaborator

This is the rng.h in AttractorScaffolding, BUT, it needs to be modified so that it can generate 64 bit random numbers; at present it is a 32 bit implementation.

@sebjameswml
Copy link
Collaborator Author

Consider also incorporating siderand to obtain entropy from the CPU.

@sebjameswml
Copy link
Collaborator Author

See "Stronger Cryptography For Every Device, Everywhere" by J V Roig.

@sebjameswml
Copy link
Collaborator Author

Maybe use "SIMD-Oriented Fast Mersenne Twister: a 128-bit Pseudorandom Number Generator" by Mutsuo Saito & Makoto Matsumoto

@sebjameswml
Copy link
Collaborator Author

@sebjameswml
Copy link
Collaborator Author

@sebjameswml
Copy link
Collaborator Author

sebjameswml commented Feb 18, 2020

Update: C++-11 has nice random number generators, so this should be "Wrap C++-11 random number generation in some convenience functions"

The stuff about siderand may still hold - compare that with the standard C++ mechanism for collecting entropy.

@sebjameswml
Copy link
Collaborator Author

Fixed, with addition of Random.h.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant