I tried to test Xorshift using the Dieharder suite, since I couldn't find the folder with the built-in generators I instead made a MATLAB script to generate 100000000 32-bit unsigned random integers. I then managed to store them in a text file (massive, 1.2 GB thing, hard to edit/store/send...) with this above the numbers as instructed:
#==============================================
# generator Xorshift seed = 1
#=============================================
type: d
count: 100000000
numbit: 32
When I finally got the file onto my Linux PC (in the Downloads folder, in case I need to move it) and tried the command "dieharder -f XorshiftTextFile.txt -a -g 202 -Y 1" to run it, it just said "Error: Cannot open XorshiftTestFile.txt, exiting".
Is it because of where the file is? The size (since LeafPad won't open it)? Formatting? This process has been rather painful...
Aucun commentaire:
Enregistrer un commentaire