mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
1e92919667
Feature safe: yes
7 lines
441 B
Plaintext
7 lines
441 B
Plaintext
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.
|