• 该Uncommons数学开放源图书馆是建立五提供易于使用统计、高性能的伪随机数发生器(RNGs).

    这些是:

    MersenneTwisterRNG

    ·Java口快速和可靠的梅森难题丽贝卡最初是通过诚松和卓尔村的。 这是速度比java。工具的。随机的,不具有相同的统计缺陷,丽贝卡,还有一个长的时期(219937). 的梅森难题是一个优秀的一般目的丽贝卡的。

    XORShiftRNG

    ·Java执行速度非常快《养恤金条例》所述的由乔治*Marsaglia的。 它有一个期间的约2160,这虽然远短于梅森难题,仍然明显长于java。工具的。随机的。 这是丽贝卡时使用性能的主要关切的问题。 它可以达到两倍梅森难题的。

    CMWC4096RNG

    ·Java执行的一个互补-乘与携带(CMWC)瑞描述的由乔治*Marsaglia的。 它有一个非常长的时期(2131104)和性能相当于梅森难题(虽然梅森难题具有的优点只需要16字节的种子数据而不是16个千字节需要通过CMWC丽贝卡).

    AESCounterRNG

    ·这是一个密码-strong1非线性瑞,是周围的10倍的速度比java。安全。SecureRandom的。 反向工程生成器国家从意见,其输出的将涉及的裂AES分组密码。

    CellularAutomatonRNG

    ·Java口的托尼Pasqualoni的快速细胞自动机丽贝卡的。 它使用一个256单元的自动机产生随机的价值观。

  • के Uncommons गणित खुला स्रोत पुस्तकालय बनाया गया है प्रदान करने के लिए पाँच आसान करने के लिए उपयोग, सांख्यिकीय ध्वनि, उच्च प्रदर्शन कूट-यादृच्छिक संख्या जनरेटर (RNGs).

    इन कर रहे हैं:

    MersenneTwisterRNG

    · एक जावा बंदरगाह के लिए तेजी से और विश्वसनीय Mersenne भांजनेवाला RNG द्वारा मूल रूप से विकसित किया Makoto मात्सुमोतो और Takuji Nishimura. यह है की तुलना में तेजी से जावा.util.यादृच्छिक नहीं है, एक ही सांख्यिकीय खामियों के रूप में है कि RNG और यह भी एक लंबी अवधि (219937). Mersenne भांजनेवाला एक उत्कृष्ट सामान्य प्रयोजन RNG.

    XORShiftRNG

    · एक जावा कार्यान्वयन के बहुत तेजी से PRNG द्वारा वर्णित जॉर्ज Marsaglia. यह एक अवधि के बारे में 2160, जो हालांकि बहुत कम की तुलना में Mersenne भांजनेवाला की है, अभी भी काफी लंबे समय तक की तुलना में जावा.util.यादृच्छिक है । इस RNG का उपयोग करने के लिए जब प्रदर्शन प्राथमिक चिंता का विषय है । यह हो सकता है अप करने के लिए दो बार के रूप में तेजी के रूप में Mersenne भांजनेवाला.

    CMWC4096RNG

    · एक जावा कार्यान्वयन के लिए एक पूरक-गुणा-साथ-ले (CMWC) RNG द्वारा वर्णित के रूप में जॉर्ज Marsaglia. यह एक बहुत ही लंबी अवधि (2131104) और प्रदर्शन करने के लिए तुलनीय Mersenne भांजनेवाला (हालांकि Mersenne भांजनेवाला का फायदा है केवल की आवश्यकता होती है 16 बाइट्स के बीज डेटा के बजाय 16 किलोबाइट के लिए आवश्यक CMWC RNG).

    AESCounterRNG

    · यह एक cryptographically-strong1 गैर रेखीय RNG के आसपास है कि 10x तेजी से जावा.सुरक्षा । SecureRandom. रिवर्स इंजीनियरिंग के लिए जनरेटर राज्य की टिप्पणियों से अपने उत्पादन में शामिल होगा खुर एईएस ब्लॉक सिफर है ।

    CellularAutomatonRNG

    · एक जावा बंदरगाह के टोनी Pasqualoni के तेजी से सेलुलर Automaton RNG. यह एक 256-सेल automaton उत्पन्न करने के लिए यादृच्छिक मूल्यों.

  • The Uncommons Maths Open Source library is built to provide five easy-to-use, statistically sound, high-performance pseudorandom number generators (RNGs).

    These are:

    MersenneTwisterRNG

    · A Java port of the fast and reliable Mersenne Twister RNG originally developed by Makoto Matsumoto and Takuji Nishimura. It is faster than java.util.Random, does not have the same statistical flaws as that RNG and also has a long period (219937). The Mersenne Twister is an excellent general purpose RNG.

    XORShiftRNG

    · A Java implementation of the very fast PRNG described by George Marsaglia. It has a period of about 2160, which although much shorter than the Mersenne Twister's, is still significantly longer than that of java.util.Random. This is the RNG to use when performance is the primary concern. It can be up to twice as fast as the Mersenne Twister.

    CMWC4096RNG

    · A Java implementation of a Complementary-Multiply-With-Carry (CMWC) RNG as described by George Marsaglia. It has an extremely long period (2131104) and performance comparable to the Mersenne Twister (though the Mersenne Twister has the advantage of only requiring 16 bytes of seed data rather than the 16 kilobytes required by the CMWC RNG).

    AESCounterRNG

    · This is a cryptographically-strong1 non-linear RNG that is around 10x faster than java.security.SecureRandom. Reverse-engineering the generator state from observations of its output would involve cracking the AES block cipher.

    CellularAutomatonRNG

    · A Java port of Tony Pasqualoni's fast Cellular Automaton RNG. It uses a 256-cell automaton to generate random values.