... | ... | @@ -2,6 +2,7 @@ |
|
|
title: 1. Pseudo Random Number Generator Testing
|
|
|
---
|
|
|
|
|
|
|
|
|
To perform the test and obtain reproducible results, open the **Pseudo Random Number Generator Testing/Simulation/** project folder with Visual Studio, compile and run, after setting the input parameters accordingly.
|
|
|
|
|
|
### Program.cs
|
... | ... | @@ -11,7 +12,7 @@ static int NSEED = 100; |
|
|
static int NSAMPLE = 100000;
|
|
|
```
|
|
|
|
|
|
A **data.txt** file, containing the sequential prime number seeds on the first row and the corresponding data points for each iteration in the following rows, is the output test (that can be also found in the **Pseudo Random Number Generator Testing/Output Analysis/** directory). The output test is analyzed by the **Pseudo Random Number Generator Testing/Output Analysis/PRNG_test.m** main Matlab file, with the auxiliary function *plotAll.m*.
|
|
|
A **data.txt** file, containing the sequential prime number seeds on the first row and the corresponding data points for each iteration in the following rows, is the output test. The output test is analyzed by the **Pseudo Random Number Generator Testing/Output Analysis/PRNG_test.m** main Matlab file, with the auxiliary function *plotAll.m*.
|
|
|
|
|
|
|
|
|
> [!NOTE]
|
... | ... | |