f95c979721
generators. PR: ports/144023 Submitted by: bf <bf1783 at gmail.com> Feature safe: yes
8 lines
510 B
Text
8 lines
510 B
Text
This software calculates a normalized version of the classical spectral test for
|
|
linear congruential pseudorandom number generators (LCGs), where the shortest
|
|
vector is replaced by an approximation obtained with the Lenstra-Lenstra-Lovasz
|
|
basis reduction algorithm, which can be calculated in polynomial time. The code
|
|
is able to test in up to 24 dimensions, and includes an example of how to use
|
|
the test to search for good LCG parameters.
|
|
|
|
WWW: http://random.mat.sbg.ac.at/results/karl/spectraltest/lll.html
|