diehard_operm5.h

来自「Dieharder是一个是一个测试一序列伪随机数的随机性能的测试套件」· C头文件 代码 · 共 134 行 · 第 1/5 页

H
134
字号
/* * diehard_operm5 test header. *//* * function prototype */void diehard_operm5(Test **test, int irun);static Dtest diehard_operm5_dtest = {  "Diehard OPERM5 Test","\n\#==================================================================\n\#          Diehard Overlapping 5-Permutations Test.\n\# This is the OPERM5 test.  It looks at a sequence of one mill- \n\# ion 32-bit random integers.  Each set of five consecutive     \n\# integers can be in one of 120 states, for the 5! possible or- \n\# derings of five numbers.  Thus the 5th, 6th, 7th,...numbers   \n\# each provide a state. As many thousands of state transitions  \n\# are observed,  cumulative counts are made of the number of    \n\# occurences of each state.  Then the quadratic form in the     \n\# weak inverse of the 120x120 covariance matrix yields a test   \n\# equivalent to the likelihood ratio test that the 120 cell     \n\# counts came from the specified (asymptotically) normal dis-   \n\# tribution with the specified 120x120 covariance matrix (with  \n\# rank 99).  This version uses 1,000,000 integers, twice.       \n\#\n\

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?