Rule 30 is considered to be chaotic enough to generate good pseudo-random numbers. As a matter of fact, rule 30 is used by the Mathematica software for its default random […]

Continue Reading## C++: Generator

A generator is an executable entity (like a function or procedure) that contains code that yields a sequence of values, one at a time, so that each time you call […]

Continue Reading## C++: Linear Congruential Generator

The linear congruential generator is a very simple example of a random number generator. All linear congruential generators use this formula: Where: r0 is a seed. r1, r2, r3, …, […]

Continue Reading