rgb_bitdist.h

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

H
32
字号
/* * rgb_bitdist test header. *//* * function prototype */void rgb_bitdist(Test **test,int irun);static Dtest rgb_bitdist_dtest = {  "RGB Bit Distribution Test",  "\n\#========================================================================\n\#                 RGB Bit Distribution Test\n\# Accumulates the frequencies of all n-tuples of bits in a list\n\# of random integers and compares the distribution thus generated\n\# with the theoretical (binomial) histogram, forming chisq and the\n\# associated p-value.  In this test n-tuples are selected without\n\# WITHOUT overlap (e.g. 01|10|10|01|11|00|01|10) so the samples\n\# are independent.  Every other sample is offset modulus of the\n\# sample index and ntuple_max.\n\#\n",  100,     /* Default psamples */  100000,  /* Default tsamples */  1        /* We magically make all the bit tests return a single histogram */};/* * Global variables, each with a "locally identifiable" name. */uint rgb_bitdist_ntuple;

⌨️ 快捷键说明

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