Fill a strided array with pseudorandom numbers generated using a linear congruential pseudorandom number generator (LCG).