diehard_dna.h

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

H
38
字号
/* * diehard_dna test header. *//* * function prototype */void diehard_dna(Test **test,int irun);static Dtest diehard_dna_dtest = {  "Diehard DNA Test",  "\n\#==================================================================\n\#                    Diehard DNA Test.\n\# \n\#   The DNA test considers an alphabet of 4 letters::  C,G,A,T,\n\# determined by two designated bits in the sequence of random   \n\# integers being tested.  It considers 10-letter words, so that \n\# as in OPSO and OQSO, there are 2^20 possible words, and the   \n\# mean number of missing words from a string of 2^21  (over-    \n\# lapping)  10-letter  words (2^21+9 \"keystrokes\") is 141909.   \n\# The standard deviation sigma=339 was determined as for OQSO   \n\# by simulation.  (Sigma for OPSO, 290, is the true value (to   \n\# three places), not determined by simulation.                  \n\# \n\# Note 2^21 = 2097152\n\# Note also that we don't bother with overlapping keystrokes \n\# (and sample more rands -- rands are now cheap). \n\#==================================================================\n",  100,  2097152,  1};/* * Global variables (none in this case) */

⌨️ 快捷键说明

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