Galois LFSR and Mersenne Twister
From time to time, I need to fill images with random values — and do it quickly. There are two simple yet elegant algorithms to achieve this.
From time to time, I need to fill images with random values — and do it quickly. There are two simple yet elegant algorithms to achieve this.