[27/51] [partial] commons-rng git commit: Multimodule support
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/42530e25/commons-rng-core/src/site/resources/txt/userguide/stress/tu/run_1/tu_9 -- diff --git a/commons-rng-core/src/site/resources/txt/userguide/stress/tu/run_1/tu_9 b/commons-rng-core/src/site/resources/txt/userguide/stress/tu/run_1/tu_9 new file mode 100644 index 000..a77406d --- /dev/null +++ b/commons-rng-core/src/site/resources/txt/userguide/stress/tu/run_1/tu_9 @@ -0,0 +1,3795 @@ +# +# RNG: org.apache.commons.rng.internal.source32.ISAACRandom +# +# Java: 1.8.0_66 +# Runtime: 1.8.0_66-b17 +# JVM: Java HotSpot(TM) 64-Bit Server VM 25.66-b17 +# OS: Linux 3.16.0-4-amd64 amd64 +# +# Analyzer: ./stdin2testu01 BigCrush +# +xxx + Starting BigCrush + Version: TestU01 1.2.3 +xxx + + +*** +Test smarsa_SerialOver calling smultin_MultinomialOver + +*** +HOST = gaianss, Linux + +stdin + + +smultin_MultinomialOver test: +--- + N = 1, n = 10, r = 0, d = 256, t = 3, + Sparse = FALSE + + GenerCell = smultin_GenerCellSerial + Number of cells = d^t = 16777216 + Expected number per cell = 59.604645 + Hashing = FALSE + + For Delta > -1, we use the ChiSquare approximation + Correction factor of the ChiSquare: + Delta = 1,Mu = 0.0083558402,Sigma = 1 + +--- +Test Results for Delta = 1. + +Number of degrees of freedom : 16711680 +Value of the statistic: 1.67e+7 +p-value of test :0.12 + + +--- +CPU time used: 00:02:24.43 + +Generator state: +N/A + + + +*** +Test smarsa_SerialOver calling smultin_MultinomialOver + +*** +HOST = gaianss, Linux + +stdin + + +smultin_MultinomialOver test: +--- + N = 1, n = 10, r = 22, d = 256, t = 3, + Sparse = FALSE + + GenerCell = smultin_GenerCellSerial + Number of cells = d^t = 16777216 + Expected number per cell = 59.604645 + Hashing = FALSE + + For Delta > -1, we use the ChiSquare approximation + Correction factor of the ChiSquare: + Delta = 1,Mu = 0.0083558402,Sigma = 1 + +--- +Test Results for Delta = 1. + +Number of degrees of freedom : 16711680 +Value of the statistic: 1.67e+7 +p-value of test :0.09 + + +--- +CPU time used: 00:02:32.14 + +Generator state: +N/A + + + +*** +Test smarsa_CollisionOver calling smultin_MultinomialOver + +*** +HOST = gaianss, Linux + +stdin + + +smultin_MultinomialOver test: +--- + N = 30, n = 2000, r = 0, d = 2097152, t = 2, + Sparse = TRUE + + GenerCell = smultin_GenerCellSerial + Number of cells = d^t = 4398046511104 + Expected number per cell = 1 / 219902.33 + EColl = n^2 / (2k) = 45.47473509 + Hashing = TRUE + + Collision test + + CollisionOver: density = n / k = 1 / 219902.33 + Expected number of collisions = Mu = 45.47 + + +--- +Results of CollisionOver test: + +POISSON approximation : +Expected number of collisions = N*Mu : 1364.24 +Observed number of collisions : 1366 +p-value of test :0.48 + +- +Total number of cells containing j balls + + j = 0 : 131940795334486 + j = 1 :57268 + j = 2 : 1366 + j = 3 :0 + j = 4 :0 + j = 5 :0 + +--- +CPU time used: 00:06:47.44 + +Generator state: +N/A + + + +*** +Test smarsa_CollisionOver calling smultin_MultinomialOver + +*** +HOST = gaianss, Linux + +stdin + + +smultin_MultinomialOver test: +-
[27/51] [partial] commons-rng git commit: Multimodule support
http://git-wip-us.apache.org/repos/asf/commons-rng/blob/d1b3113a/commons-rng-core/site-content/.svn/pristine/28/28a869352746aff0019b0eb220ea335898d8729b.svn-base -- diff --git a/commons-rng-core/site-content/.svn/pristine/28/28a869352746aff0019b0eb220ea335898d8729b.svn-base b/commons-rng-core/site-content/.svn/pristine/28/28a869352746aff0019b0eb220ea335898d8729b.svn-base new file mode 100644 index 000..7f23cf1 --- /dev/null +++ b/commons-rng-core/site-content/.svn/pristine/28/28a869352746aff0019b0eb220ea335898d8729b.svn-base @@ -0,0 +1,127 @@ +http://www.w3.org/TR/html4/loose.dtd";> + + + + + +Uses of Class org.apache.commons.rng.internal.source32.MersenneTwister (Apache Commons Rng 1.0-SNAPSHOT API) + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + +http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";> + + + +Prev +Next + + +Frames +No Frames + + +All Classes + + + + + + + + + + +Uses of Classorg.apache.commons.rng.internal.source32.MersenneTwister + +No usage of org.apache.commons.rng.internal.source32.MersenneTwister + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + +http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";> + + + +Prev +Next + + +Frames +No Frames + + +All Classes + + + + + + + + + +Copyright © 2016 https://www.apache.org/";>The Apache Software Foundation. All rights reserved. + + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/commons-rng/blob/d1b3113a/commons-rng-core/site-content/.svn/pristine/29/290a2c51b021896c4b2a463c0c88748dc59aeb2a.svn-base -- diff --git a/commons-rng-core/site-content/.svn/pristine/29/290a2c51b021896c4b2a463c0c88748dc59aeb2a.svn-base b/commons-rng-core/site-content/.svn/pristine/29/290a2c51b021896c4b2a463c0c88748dc59aeb2a.svn-base new file mode 100644 index 000..794ddc6 --- /dev/null +++ b/commons-rng-core/site-content/.svn/pristine/29/290a2c51b021896c4b2a463c0c88748dc59aeb2a.svn-base @@ -0,0 +1,150 @@ +http://www.w3.org/TR/html4/loose.dtd";> + + +Source code + + + + +001/* +002 * Licensed to the Apache Software Foundation (ASF) under one or more +003 * contributor license agreements. See the NOTICE file distributed with +004 * this work for additional information regarding copyright ownership. +005 * The ASF licenses this file to You under the Apache License, Version 2.0 +006 * (the "License"); you may not use this file except in compliance with +007 * the License. You may obtain a copy of the License at +008 * +009 * http://www.apache.org/licenses/LICENSE-2.0 +010 * +011 * Unless required by applicable law or agreed to in writing, software +012 * distributed under the License is distributed on an "AS IS" BASIS, +013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +014 * See the License for the specific language governing permissions and +015 * limitations under the License. +016 */ +017package org.apache.commons.rng.internal.source32; +018 +019/** +020 * This class implements the WELL512a pseudo-random number generator +021 * from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto. +022 *+023 * This generator is described in a paper by François Panneton, +024 * Pierre L'Ecuyer and Makoto Matsumoto +025 * ; +026 * Improved Long-Period Generators Based on Linear Recurrences Modulo 2 +027 * ACM Transactions on Mathematical Software, 32, 1 (2006). +028 * The errata for the paper are in +029 * wellrng-errata.txt;. +030 *
+031 * +032 * @see WELL Random number generator +033 * @since 1.0 +034 */ +035public class Well512a extends AbstractWell { +036/** Number of bits in the pool. */ +037private static final int K = 512; +038/** First parameter of the algorithm. */ +039