我爱Aspx >> Asp.Net >> A Good 31 bit Random Number Generator Class/// T(z) = (z/q) - (az/m)
///
/// F(z) = a(z%q)- rz/q+ m((z/q) - a(z/m))
/// = a(z%q)- rz/q+ m(z/q) - az
///
/// NOTE JAE: I could easily extend this class to a C# 63 bit LCG but,
/// don@#t really see the point for most applications I have.
/// Besides 2**63 -1 is 9,223,372,036,854,775,807 that@#s 19
/// digits of precision. A double only has 15- 16 digits
/// of precision. Since my typical use is a double that@#s
/// at least 3 digits of precision I could never use. (of
/// course 2**31 -1 is only 10 digits of precision so that@#s
/// five less than I could use ...)
///
/// Advantages of a 64 bit generator would be the insanely
/// long cycle until it repeats. Disadvantages would be
/// the implementation complexities of picking correct/good
/// m and q values, then testing it. I@#ll probabaly create
Ҷƪл˵?
浅谈图像压缩算法(好文章。看看..[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]