我爱Aspx >> Asp.Net >> A Good 31 bit Random Number Generator Class/// "I am Pentium of Borg,
/// Division is Futile,
/// You will be approximated!"
/// </borg-joke>
/// </remarks>
public class RNDuint
{
protected uint seed;
#if(ACM_ORIGINAL_NUMBERS)
///<remarks> This version uses the original ACM m and q.
///</remarks>
static protected uint m = 2147483647;
static protected uint q = 127773;
static protected ushort a = 16807;
static protected ushort r = 2836;
static protected uint successfulltest = 1043618065;
#else
///<remarks>
/// 1992 -- This version contains NEW numbers provided by John Burton
/// that improve the distribution over the originally published
/// numbers in the ACM. JAE jill@eskimo.com
/// </remarks>
/// <summary>modulus 2**31 -1</summary>
Ҷƪл˵?
浅谈图像压缩算法(好文章。看看..[05-31]
Huffman编码原理[05-31]
Huffman 编码简介(讲解的更好一..[05-31]
找到了,JPG格式原理。[05-31]
上面提到的原代码(C语言)—2[05-31]
上面提到的原代码(C语言)—1[05-31]
Huffman with Short dictionary压..[05-31]
给贝贝的,Base64编码(带有Q和B..[05-31]
C#的BinaryTree实现[05-31]
LinkedQueue的实现[05-31]