11.07.2015 Views

A Random Number Generator Test Suite for the C++ ... - ETH Zürich

A Random Number Generator Test Suite for the C++ ... - ETH Zürich

A Random Number Generator Test Suite for the C++ ... - ETH Zürich

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.25. The Diehard <strong>Test</strong> <strong>Suite</strong>bigger matrices, only <strong>the</strong> χ 2 value <strong>for</strong> matrix is reported. To accommodate to this differentmeanings, <strong>the</strong>re are two different tests implemented, a bin_rank_ks_test and abin_rank_chisqr_test. The usage of both classes is exactly <strong>the</strong> same, only <strong>the</strong> statisticsare different.Constructors in bin_rank_test.hbin_rank_ks_test(uint64_t n,std::size_t rows,std::size_t columns,std::size_t minRankCount)bin_rank_chisqr_test(uint64_t n,std::size_t rows,std::size_t columns,std::size_t minRankCount)n number of matrices to buildrows number of rows in matrixcolumns number of columns in matrixminRankCount count ranks down to this rank, if a rank is smaller cumulate itIn <strong>the</strong> original implementation <strong>the</strong> following parameters were used:Ranks of 31 31 matrices testbin_rank_chisqr_testn 40000rows 31columns 31minRankCount 28Ranks of 32 32 matrices testbin_rank_chisqr_testn 40000rows 32columns 32minRankCount 29Ranks of 6 8 matrices testbin_rank_ks_testn 100000rows 6columns 8minRankCount 45.25.4. The bitstream testThe following description is <strong>the</strong> original text from <strong>the</strong> Diehard test suite.43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!