svn commit: r1756753 - /commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Option.java
Author: britter Date: Thu Aug 18 10:18:43 2016 New Revision: 1756753 URL: http://svn.apache.org/viewvc?rev=1756753&view=rev Log: Better explain how getArgs works. Thanks to Thomas Brand for pointing this out. Modified: commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Option.java Modified: commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Option.java URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Option.java?rev=1756753&r1=1756752&r2=1756753&view=diff == --- commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Option.java (original) +++ commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/Option.java Thu Aug 18 10:18:43 2016 @@ -415,8 +415,17 @@ public class Option implements Cloneable /** * Returns the number of argument values this Option can take. + * + * + * A value equal to the constant {@link #UNINITIALIZED} (= -1) indicates + * the number of arguments has not been specified. + * A value equal to the constant {@link #UNLIMITED_VALUES} (= -2) indicates + * that this options takes an unlimited amount of values. + * * * @return num the number of argument values + * @see #UNINITIALIZED + * @see #UNLIMITED_VALUES */ public int getArgs() {
svn commit: r1756762 - in /commons/cms-site/trunk: conf/component_releases.properties content/resources/.htaccess content/site.xml content/xdoc/components.xml content/xdoc/index.xml.vm
Author: britter Date: Thu Aug 18 12:00:08 2016 New Revision: 1756762 URL: http://svn.apache.org/viewvc?rev=1756762&view=rev Log: [RNG-8] Create web presence for Commons Rng Modified: commons/cms-site/trunk/conf/component_releases.properties commons/cms-site/trunk/content/resources/.htaccess commons/cms-site/trunk/content/site.xml commons/cms-site/trunk/content/xdoc/components.xml commons/cms-site/trunk/content/xdoc/index.xml.vm Modified: commons/cms-site/trunk/conf/component_releases.properties URL: http://svn.apache.org/viewvc/commons/cms-site/trunk/conf/component_releases.properties?rev=1756762&r1=1756761&r2=1756762&view=diff == --- commons/cms-site/trunk/conf/component_releases.properties (original) +++ commons/cms-site/trunk/conf/component_releases.properties Thu Aug 18 12:00:08 2016 @@ -72,6 +72,8 @@ poolVersion=2.4.2 poolReleased=2015-08-01 proxyVersion=1.0 proxyReleased=2008-02-28 +rngVersion=1.0 +rngReleased=2016-??-?? scxmlVersion=0.9 scxmlReleased=2008-12-01 validatorVersion=1.5.1 Modified: commons/cms-site/trunk/content/resources/.htaccess URL: http://svn.apache.org/viewvc/commons/cms-site/trunk/content/resources/.htaccess?rev=1756762&r1=1756761&r2=1756762&view=diff == --- commons/cms-site/trunk/content/resources/.htaccess (original) +++ commons/cms-site/trunk/content/resources/.htaccess Thu Aug 18 12:00:08 2016 @@ -62,6 +62,7 @@ Redirect /net /proper/commons-net Redirect /ognl /proper/commons-ognl Redirect /pool /proper/commons-pool Redirect /proxy /proper/commons-proxy +Redirect /rng /proper/commons-rng Redirect /scxml /proper/commons-scxml Redirect /transaction /proper/commons-transaction Redirect /validator /proper/commons-validator Modified: commons/cms-site/trunk/content/site.xml URL: http://svn.apache.org/viewvc/commons/cms-site/trunk/content/site.xml?rev=1756762&r1=1756761&r2=1756762&view=diff == --- commons/cms-site/trunk/content/site.xml (original) +++ commons/cms-site/trunk/content/site.xml Thu Aug 18 12:00:08 2016 @@ -82,6 +82,7 @@ + Modified: commons/cms-site/trunk/content/xdoc/components.xml URL: http://svn.apache.org/viewvc/commons/cms-site/trunk/content/xdoc/components.xml?rev=1756762&r1=1756761&r2=1756762&view=diff == --- commons/cms-site/trunk/content/xdoc/components.xml (original) +++ commons/cms-site/trunk/content/xdoc/components.xml Thu Aug 18 12:00:08 2016 @@ -111,6 +111,8 @@ Generic object pooling component. Proxy Library for creating dynamic proxies. +RNG +Implementations of random numbers generators. SCXML An implementation of the State Chart XML specification aimed at creating and maintaining a Java SCXML engine. It is capable of executing a state machine defined using a SCXML document, and abstracts out the environment interfaces. Validator Modified: commons/cms-site/trunk/content/xdoc/index.xml.vm URL: http://svn.apache.org/viewvc/commons/cms-site/trunk/content/xdoc/index.xml.vm?rev=1756762&r1=1756761&r2=1756762&view=diff == --- commons/cms-site/trunk/content/xdoc/index.xml.vm (original) +++ commons/cms-site/trunk/content/xdoc/index.xml.vm Thu Aug 18 12:00:08 2016 @@ -203,6 +203,9 @@ Proxy Library for creating dynamic proxies. ${proxyVersion}${proxyReleased} +RNG +Implementations of random numbers generators. +${rngVersion}${rngReleased} SCXML An implementation of the State Chart XML specification aimed at creating and maintaining a Java SCXML engine.It is capable of executing a state machine defined using a SCXML document, and abstracts out the environment interfaces. ${scxmlVersion}${scxmlReleased}
svn commit: r1756770 - /commons/cms-site/trunk/content/resources/README.txt
Author: sebb Date: Thu Aug 18 12:33:33 2016 New Revision: 1756770 URL: http://svn.apache.org/viewvc?rev=1756770&view=rev Log: Docn Modified: commons/cms-site/trunk/content/resources/README.txt Modified: commons/cms-site/trunk/content/resources/README.txt URL: http://svn.apache.org/viewvc/commons/cms-site/trunk/content/resources/README.txt?rev=1756770&r1=1756769&r2=1756770&view=diff == --- commons/cms-site/trunk/content/resources/README.txt (original) +++ commons/cms-site/trunk/content/resources/README.txt Thu Aug 18 12:33:33 2016 @@ -5,3 +5,17 @@ commons.a.o/proper/commons-component/dow The CGI and HTML files must have same parent URL. However CGI are no longer subject to htaccess redirects (because all CGI are redirected to the LUA script) whereas HTML files are subject to redirection. + +The .htaccess file in this directory takes care of redirecting non-CGI files + +So for each component, there should be an entry in .htaccess: + +Redirect /xyz /proper/commons-xyz + +and the following file: + +xyz/download_xyz.html + +For sandbox components (which don't have releases), there should only be an entry in .htaccess: + +Redirect /sandbox/zyx /sandbox/commons-zyx
svn commit: r1756783 - in /commons/proper/validator/trunk/src: changes/changes.xml main/java/org/apache/commons/validator/routines/IBANValidator.java test/java/org/apache/commons/validator/routines/IB
Author: britter Date: Thu Aug 18 13:45:04 2016 New Revision: 1756783 URL: http://svn.apache.org/viewvc?rev=1756783&view=rev Log: VALIDATOR-401: IBANValidator fails for Seychelles and Ukraine. Thanks to Björn Raupach for reporting this issue. Modified: commons/proper/validator/trunk/src/changes/changes.xml commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/IBANValidator.java commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/IBANValidatorTest.java Modified: commons/proper/validator/trunk/src/changes/changes.xml URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/changes/changes.xml?rev=1756783&r1=1756782&r2=1756783&view=diff == --- commons/proper/validator/trunk/src/changes/changes.xml (original) +++ commons/proper/validator/trunk/src/changes/changes.xml Thu Aug 18 13:45:04 2016 @@ -64,8 +64,10 @@ The type attribute can be add,u --> - + + +IBANValidator fails for Seychelles and Ukraine + UrlValidator.isValid throws exception for FILEURLs Fixed code so it handles URLs with no authority field Modified: commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/IBANValidator.java URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/IBANValidator.java?rev=1756783&r1=1756782&r2=1756783&view=diff == --- commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/IBANValidator.java (original) +++ commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/IBANValidator.java Thu Aug 18 13:45:04 2016 @@ -153,6 +153,7 @@ public class IBANValidator { new Validator("ST", 25, "ST\\d{23}" ), // Sao Tome And Principe new Validator("SA", 24, "SA\\d{4}[A-Z0-9]{18}" ), // Saudi Arabia new Validator("RS", 22, "RS\\d{20}" ), // Serbia +new Validator("SC", 31, "SC\\d{2}[A-Z]{4}\\d{20}[A-Z]{3}" ), // Seychelles new Validator("SK", 24, "SK\\d{22}" ), // Slovak Republic new Validator("SI", 19, "SI\\d{17}" ), // Slovenia new Validator("ES", 24, "ES\\d{22}" ), // Spain @@ -161,6 +162,7 @@ public class IBANValidator { new Validator("TL", 23, "TL\\d{21}" ), // Timor-Leste new Validator("TN", 24, "TN59\\d{20}" ), // Tunisia new Validator("TR", 26, "TR\\d{8}[A-Z0-9]{16}" ), // Turkey +new Validator("UA", 29, "UA\\d{8}[A-Z0-9]{19}" ), // Ukraine new Validator("AE", 23, "AE\\d{21}" ), // United Arab Emirates new Validator("GB", 22, "GB\\d{2}[A-Z]{4}\\d{14}" ), // United Kingdom new Validator("VG", 24, "VG\\d{2}[A-Z]{4}\\d{16}" ), // Virgin Islands, British Modified: commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/IBANValidatorTest.java URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/IBANValidatorTest.java?rev=1756783&r1=1756782&r2=1756783&view=diff == --- commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/IBANValidatorTest.java (original) +++ commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/IBANValidatorTest.java Thu Aug 18 13:45:04 2016 @@ -107,7 +107,9 @@ public class IBANValidatorTest { "AE070331234567890123456", "GB29NWBK60161331926819", "VG96VPVG012345678901", -}; +"SC18SSCB11011497USD", +"UA21399622026007233566001" +}; private final String[] invalidIBANFormat = new String[] { "",// empty
[1/3] commons-rng git commit: Fix dependency info.
Repository: commons-rng Updated Branches: refs/heads/master cccd43c05 -> 294fa53a2 Fix dependency info. Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/55e935ef Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/55e935ef Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/55e935ef Branch: refs/heads/master Commit: 55e935ef14fdc66b9872feeb96629917adaaf6a0 Parents: cccd43c Author: Gilles Authored: Thu Aug 18 18:01:52 2016 +0200 Committer: Gilles Committed: Thu Aug 18 18:01:52 2016 +0200 -- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/commons-rng/blob/55e935ef/pom.xml -- diff --git a/pom.xml b/pom.xml index 807babc..2843c90 100644 --- a/pom.xml +++ b/pom.xml @@ -102,7 +102,7 @@ org.apache.commons.rng.internal 1.0 -(requires Java 1.5+) +(requires Java 1.6+) -bin
[2/3] commons-rng git commit: Fixed spurious dependencies.
Fixed spurious dependencies. JMH is a dependency only for running benchmarks (provided in "src/test"). Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/9b4e8267 Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/9b4e8267 Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/9b4e8267 Branch: refs/heads/master Commit: 9b4e8267bc43fc87ae0eab231604e1556536fc57 Parents: 55e935e Author: Gilles Authored: Thu Aug 18 18:13:02 2016 +0200 Committer: Gilles Committed: Thu Aug 18 18:13:02 2016 +0200 -- pom.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/commons-rng/blob/9b4e8267/pom.xml -- diff --git a/pom.xml b/pom.xml index 2843c90..9e5d001 100644 --- a/pom.xml +++ b/pom.xml @@ -73,13 +73,14 @@ org.openjdk.jmh jmh-core ${jmh.version} + test org.openjdk.jmh jmh-generator-annprocess ${jmh.version} - provided + test
[3/3] commons-rng git commit: Info on current status (web site).
Info on current status (web site). Temporary contents until official release. Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/294fa53a Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/294fa53a Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/294fa53a Branch: refs/heads/master Commit: 294fa53a2571de636a9ffb4816686f922e58235f Parents: 9b4e826 Author: Gilles Authored: Thu Aug 18 18:15:46 2016 +0200 Committer: Gilles Committed: Thu Aug 18 18:15:46 2016 +0200 -- src/site/xdoc/download_rng.xml | 101 ++-- src/site/xdoc/index.xml| 26 -- 2 files changed, 39 insertions(+), 88 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-rng/blob/294fa53a/src/site/xdoc/download_rng.xml -- diff --git a/src/site/xdoc/download_rng.xml b/src/site/xdoc/download_rng.xml index 6ac756b..6b57a10 100644 --- a/src/site/xdoc/download_rng.xml +++ b/src/site/xdoc/download_rng.xml @@ -31,10 +31,21 @@ limitations under the License. | 2) Set the following properties in the component's pom: | |- commons.componentid (required, alphabetic, lower case) | |- commons.release.version (required) | - |- commons.binary.suffix (optional)| + |- commons.release.name(required) | + |- commons.binary.suffix (optional) | | (defaults to "-bin", set to "" for pre-maven2 releases) | + |- commons.release.desc(optional) | + |- commons.release.subdir (optional) | + | | + |- commons.release.2/3.version (conditional) | + |- commons.release.2/3.name (conditional) | + |- commons.release.2/3.binary.suffix (optional)| + |- commons.release.2/3.desc (optional)| + |- commons.release.2/3.subdir(optional)| | | | 3) Example Properties| + |(commons.release.name inherited by parent:| + | ${project.artifactId}-${commons.release.version} | | | | | |math | @@ -46,93 +57,13 @@ limitations under the License. Download Apache Commons Rng -Commons Documentation Team +Apache Commons Documentation Team - - -We recommend you use a mirror to download our release -builds, but you must verify the integrity of -the downloaded files using signatures downloaded from our main -distribution directories. Recent releases (48 hours) may not yet -be available from the mirrors. - - - -You are currently using [preferred]. If you -encounter a problem with this mirror, please select another -mirror. If all mirrors are failing, there are backup -mirrors (at the end of the mirrors list) that should be -available. - -[if-any logo][end] - - - - - Other mirrors: - - [if-any http] -[for http][http][end] - [end] - [if-any ftp] -[for ftp][ftp][end] - [end] - [if-any backup] -[for backup][backup] (backup)[end] - [end] - - - - - - -The http://www.apache.org/dist/commons/KEYS";>KEYS -link links to the code signing keys used to sign the product. -The PGP link downloads the OpenPGP compatible signature from our main site. -The MD5 link downloads the checksum from the main site. - - - - - - - - commons-rng-0.1-bin.tar.gz - http://www.apache.org/dist/commons/rng/binaries/commons-rng-0.1-bin.tar.gz.md5";>md5 - http://www.apache.org/dist/commons/rng/binaries/commons-rng-0.1-bin.tar.gz.asc";>pgp - - - commons-rng-0.1-bin.zip - http://www.apache.org/dist/commons/rng/binaries/commons-rng-0.1-bin.zip.md5";>md5 - http://www.apache.org/dist/commons/rng/binaries/commons-rng-0.1-bin.zip.asc";>pgp - - - - - - - commons-rng-0.1-
commons-rng git commit: Exclude directory with generated contents.
Repository: commons-rng Updated Branches: refs/heads/master 294fa53a2 -> 863fd2c09 Exclude directory with generated contents. Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/863fd2c0 Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/863fd2c0 Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/863fd2c0 Branch: refs/heads/master Commit: 863fd2c09b75c09f23c4448ba4040f4b08569f14 Parents: 294fa53 Author: Gilles Authored: Thu Aug 18 19:01:53 2016 +0200 Committer: Gilles Committed: Thu Aug 18 19:01:53 2016 +0200 -- pom.xml | 1 + 1 file changed, 1 insertion(+) -- http://git-wip-us.apache.org/repos/asf/commons-rng/blob/863fd2c0/pom.xml -- diff --git a/pom.xml b/pom.xml index 9e5d001..97cbc47 100644 --- a/pom.xml +++ b/pom.xml @@ -361,6 +361,7 @@ .ekstazi/** src/site/resources/txt/userguide/stress/dh/** src/site/resources/txt/userguide/stress/tu/** +src/userguide/target/**
commons-rng git commit: Typo (userguide).
Repository: commons-rng Updated Branches: refs/heads/master 863fd2c09 -> 94e37025b Typo (userguide). Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/94e37025 Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/94e37025 Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/94e37025 Branch: refs/heads/master Commit: 94e37025b54e495c6b810343554f9fcb5d58a122 Parents: 863fd2c Author: Gilles Authored: Thu Aug 18 21:43:06 2016 +0200 Committer: Gilles Committed: Thu Aug 18 21:43:06 2016 +0200 -- src/site/apt/userguide/rng.apt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/commons-rng/blob/94e37025/src/site/apt/userguide/rng.apt -- diff --git a/src/site/apt/userguide/rng.apt b/src/site/apt/userguide/rng.apt index 72e886a..adc4170 100644 --- a/src/site/apt/userguide/rng.apt +++ b/src/site/apt/userguide/rng.apt @@ -250,7 +250,7 @@ RandomSource.restoreState(rngNew, stateNew); * <<>>: base class for all concrete RNG implementations; it contains higher-level algorithms <<>> and <<>> common to all implementations; it defines the implementation of the -<<>> public interface. +<<>> public interface. * <<>>: interface to be implemented by concrete random sources.
[08/40] [math] Update "changes.xml".
Update "changes.xml". Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/6804238e Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/6804238e Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/6804238e Branch: refs/heads/develop__dependent_on_commons_rng Commit: 6804238e6299e83f99200537b4ece845279f59c7 Parents: eeeb553 Author: Gilles Authored: Thu Aug 18 23:21:40 2016 +0200 Committer: Gilles Committed: Thu Aug 18 23:21:40 2016 +0200 -- src/changes/changes.xml | 3 +++ 1 file changed, 3 insertions(+) -- http://git-wip-us.apache.org/repos/asf/commons-math/blob/6804238e/src/changes/changes.xml -- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index e8dfc2b..1e43272 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -54,6 +54,9 @@ If the output is not quite correct, check for invisible trailing spaces! + +Dependency toward the "Commons Rng" component. + "SimplexOptimizer": Slight performance improvement.
[09/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/xdoc/userguide/index.xml -- diff --git a/src/site/xdoc/userguide/index.xml b/src/site/xdoc/userguide/index.xml index d874581..81bdd22 100644 --- a/src/site/xdoc/userguide/index.xml +++ b/src/site/xdoc/userguide/index.xml @@ -183,13 +183,6 @@ 19.4 Features -20. Random Number Generators - - 20.1 Overview - 20.2 Performance - 20.3 Quality - - http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/userguide/README -- diff --git a/src/userguide/README b/src/userguide/README index 7ee72a0..f81bc0f 100644 --- a/src/userguide/README +++ b/src/userguide/README @@ -10,12 +10,12 @@ to the following: Alternatively, a "standalone" JAR can be created with the following command: - $ mvn -Dmainclass=org.apache.commons.math4.userguide.rng.RandomStressTester \ - -Djarbasename=RandomStressTester \ + $ mvn -Dmainclass=org.apache.commons.math4.userguide.rng.ChineseRingsClassifier \ + -Djarbasename=ChineseRingsClassifier \ clean compile assembly:single where the value of the "mainclass" argument is the fully-qualified name of the class whose "main" method will be the program's entry point, and the "jarbasename" argument is the basename of the JAR file to be created. Then, the application can be run with the following command: - $ java -jar RandomStressTester [args] + $ java -jar ChineseRingsClassifier [args] where "[args]" is the list of arguments passed to the "main" method. http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/userguide/c/rng/stdin2testu01.c -- diff --git a/src/userguide/c/rng/stdin2testu01.c b/src/userguide/c/rng/stdin2testu01.c deleted file mode 100644 index d1a4a6a..000 --- a/src/userguide/c/rng/stdin2testu01.c +++ /dev/null @@ -1,127 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * Utility for simple interfacing with the "TestU01" library: - * http://simul.iro.umontreal.ca/testu01/tu01.html - * - * It reads from its standard input an infinite sequence of 32-bits - * integers and runs one of the test suites "SmallCrush", "Crush" or - * "BigCrush". - * "TestU01" writes its report to standard output. - */ - -#include -#include -#include - -#include -#include -#include - -#define TU_S "SmallCrush" -#define TU_C "Crush" -#define TU_B "BigCrush" -#define BUFFER_LENGTH 256 - -typedef struct { - unsigned long buffer[BUFFER_LENGTH]; - uint32_t index; -} StdinReader_state; - -unsigned long nextInt(void *par, - void *sta) { - StdinReader_state *state = (StdinReader_state *) sta; - if (state->index >= BUFFER_LENGTH) { -/* Refill. */ -fread(state->buffer, sizeof(unsigned long), BUFFER_LENGTH, stdin); -state->index = 0; - } - - uint32_t random = state->buffer[state->index]; - ++state->index; /* Next request. */ - - return random; -} - -double nextDouble(void *par, - void *sta) { - return nextInt(par, sta) / 4294967296.0; -} - - -static void dummy(void *sta) { - printf("N/A"); - - return; -} - -unif01_Gen *createStdinReader(void) { - unif01_Gen *gen; - StdinReader_state *state; - size_t len; - char name[60]; - - state = util_Malloc(sizeof(StdinReader_state)); - - gen = util_Malloc(sizeof(unif01_Gen)); - gen->state = state; - gen->param = NULL; - gen->Write = dummy; - gen->GetU01 = nextDouble; - gen->GetBits = nextInt; - - strcpy(name, "stdin"); - len = strlen(name); - gen->name = util_Calloc(len + 1, sizeof (char)); - strncpy(gen->name, name, len); - - // Read binary input. - freopen(NULL, "rb", stdin); - state->index = BUFFER_LENGTH; - - return gen; -} - -void deleteStdinReader(unif01_Gen *gen) { - gen->state = util_Free(gen->state); - gen->name = util_Free(gen->name); - util_Free(gen); -} - -int main(int argc, - char **argv) { - unif01_Gen *gen = createStdinReade
[02/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/eeeb553c/src/test/java/org/apache/commons/math4/rng/internal/source32/Well1024aTest.java -- diff --git a/src/test/java/org/apache/commons/math4/rng/internal/source32/Well1024aTest.java b/src/test/java/org/apache/commons/math4/rng/internal/source32/Well1024aTest.java deleted file mode 100644 index 68a191f..000 --- a/src/test/java/org/apache/commons/math4/rng/internal/source32/Well1024aTest.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.commons.math4.rng.internal.source32; - -import org.junit.Assert; -import org.junit.Test; - -public class Well1024aTest { -@Test -public void testReferenceCode() { -final Well1024a rng = new Well1024a(new int[] { -740849862, 1202665156, -199039369, -259008301, -291878969, -1164428990, -1565918811, 491009864, --1883086670, 1383450241, 1244617256, 689006653, -1576746370, -1307940314, 1421489086, 1742094000, --595495729, 1047766204, 1875773301, -1637793284, 1379017098, 262792705, 191880010, -251000180, --1753047622, -972355720,90626881, 1644693418, 1503365577, 439653419, 1806361562, 1268823869 -}); - -final int[] refInt = { --1478749726, -1645579484, -2075363835, -2063444174, -1834148336, -1769045872,-40711346, 1717441026, -2130656771,783441285,570433609, 1560023451, 653233971, 1368672434,-72036215, 107800, -933776492, 26114960, 49888778, 1808107515, 1092989296, 754848337, 1336994364, -1987450448, --691190146, -1803870839, 1110716866, 1173269113, -39150, 2014216908,180756301, -382891013, --1908154585, 1580737629, 1080267957, -125532248, 2094530239, 2132964485, -438596348, -760299445, -1058181869, 2050816800, -1534429037,-62552782, 824524142, -818590371, -1857695907, -684762866, --156556543, -902759995, -880795194, -1387351132, -1263017515,448006597,201038266, 1929826313, --455367306,672963027, 273013, -1546842042, 446341090, 1001696686, -779919012, -347722602, --1342821677, 1639571150, -835315755, 1505585376, 367004975, -2035864404, -1786623553, 1249724913, -182435312, 1444514513, 1815333708, 1333772382,299664001, -284691169, 2034403374, 1423310887, --1319051884, 1557286441, -445198266, -251809030, 1602786123,944036382, -1020529634,258344235, -685254367, 1838964943, -156674528, -979736602, -538312836, 234643178,211152102, -635498640, --1036733933, -1347589147, -565609042, -1358714165, 508618483, -786364693, 2071450261, 1206956772, --678931458,167690617,144698821, 1719720781, 1575869280, -1343221123, -1766469944,284991647, --717305514,892653651, -1368347075, -615701972, -730369849, 1360396003, -1869287623, 1778269052, --586061545, -699517114, 61530249, -1860611767, -519660852, 1841085925, 1555610093, -399979337, --790345742,422355947, 2007965433, 2044952550, -1712164595, -102915702, -693865324, -1894042487, --1285020072, -215883074, 95833252, 1625818040, -1055951680,513067085, 1825246558, -553461652, --1923361799, -1869480206,567232636, -1751727150, -1832301399, -108136455, -1312244126, 14006795, -850221366, -382389732, -1741556188, -1317464467, 1948314870, 753994471, 1028235947,342494132, --1862256693,723808794, -234257642, 1609928369, -802733456, 1315831915, 1436072885, 1224767136, -2144557791, -1839965886,224821018, -1461697757, -1080386760, 1638573498, -1188173812, -325181523, --1750676219, -1780415850,698793362, -908352052, 299746482, -161660934, 19381
[05/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/eeeb553c/src/main/java/org/apache/commons/math4/rng/internal/source64/MersenneTwister64.java -- diff --git a/src/main/java/org/apache/commons/math4/rng/internal/source64/MersenneTwister64.java b/src/main/java/org/apache/commons/math4/rng/internal/source64/MersenneTwister64.java deleted file mode 100644 index 0280842..000 --- a/src/main/java/org/apache/commons/math4/rng/internal/source64/MersenneTwister64.java +++ /dev/null @@ -1,201 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.commons.math4.rng.internal.source64; - -import java.util.Arrays; -import org.apache.commons.math4.exception.InsufficientDataException; -import org.apache.commons.math4.rng.internal.util.NumberFactory; - -/** - * This class provides the 64-bits version of the originally 32-bits - * {@link org.apache.commons.math4.rng.internal.source32.MersenneTwister - * Mersenne Twister}. - * - * - * This class is mainly a Java port of - * http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt64.html";> - * the 2014/2/23 version of the generator - * written in C by Takuji Nishimura and Makoto Matsumoto. - * - * - * - * Here is their original copyright: - * - * - * - * Copyright (C) 2004, Makoto Matsumoto and Takuji Nishimura, - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * The names of its contributors may not be used to endorse or promote - * products derived from this software without specific prior written - * permission. - * - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND - * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, - * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, - * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY - * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * - * - * @since 4.0 - */ -public class MersenneTwister64 extends LongProvider { -/** Size of the bytes pool. */ -private static final int NN = 312; -/** Period second parameter. */ -private static final int MM = 156; -/** X * MATRIX_A for X = {0, 1}. */ -private static final long[] MAG01 = { 0x0, 0xb5026f5aa96619e9L }; -/** Most significant 33 bits. */ -private static final long UM = 0x8000L; -/** Least significant 31 bits. */ -private static final long LM = 0x7fffL; -/** Bytes pool. */ -private long[] mt = new long[NN]; -/** Current index in the bytes pool. */ -private int mti; - -/** - * Creates a new random number generator. - * - * @param seed Initial seed. - */ -public MersenneTwister64(long[] seed) { -setSeedInternal(seed); -} - -/** {@inheritDoc} */ -@Override -protected byte[] getStateInternal() { -final long[] s = Arrays.copyOf(mt, NN + 1); -s[NN] = mti; - -return NumberFactory.makeByteArray(s); -} - -/** {@inheritDoc} */ -@Override -protected void setStateInternal(byte[] s) { -if (s.length != (NN + 1) * 8) { -throw new InsufficientDataException(); -} - -final long[] tmp = Number
[07/40] [math] MATH-1383
MATH-1383 Commons Math now depends on Commons Rng. Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/eeeb553c Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/eeeb553c Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/eeeb553c Branch: refs/heads/develop__dependent_on_commons_rng Commit: eeeb553cea4d90fb34fd314f943b206284dfc89b Parents: 827d964 Author: Gilles Authored: Thu Aug 18 03:15:39 2016 +0200 Committer: Gilles Committed: Thu Aug 18 03:15:39 2016 +0200 -- pom.xml | 6 + .../AbstractIntegerDistribution.java| 2 +- .../AbstractMultivariateRealDistribution.java | 2 +- .../distribution/AbstractRealDistribution.java | 2 +- .../math4/distribution/BetaDistribution.java| 2 +- .../distribution/ConstantRealDistribution.java | 2 +- .../distribution/EmpiricalDistribution.java | 2 +- .../distribution/EnumeratedDistribution.java| 2 +- .../EnumeratedIntegerDistribution.java | 2 +- .../EnumeratedRealDistribution.java | 2 +- .../distribution/ExponentialDistribution.java | 2 +- .../math4/distribution/GammaDistribution.java | 2 +- .../math4/distribution/IntegerDistribution.java | 2 +- .../distribution/LogNormalDistribution.java | 2 +- .../MixtureMultivariateRealDistribution.java| 2 +- .../MultivariateNormalDistribution.java | 2 +- .../MultivariateRealDistribution.java | 2 +- .../math4/distribution/NormalDistribution.java | 2 +- .../math4/distribution/ParetoDistribution.java | 2 +- .../math4/distribution/PoissonDistribution.java | 2 +- .../math4/distribution/RealDistribution.java| 2 +- .../UniformIntegerDistribution.java | 2 +- .../distribution/UniformRealDistribution.java | 2 +- .../math4/distribution/ZipfDistribution.java| 2 +- .../math4/genetics/GeneticAlgorithm.java| 4 +- .../commons/math4/genetics/NPointCrossover.java | 2 +- .../math4/genetics/OrderedCrossover.java| 2 +- .../math4/genetics/UniformCrossover.java| 2 +- .../ml/clustering/FuzzyKMeansClusterer.java | 4 +- .../ml/clustering/KMeansPlusPlusClusterer.java | 4 +- .../ml/neuralnet/FeatureInitializerFactory.java | 4 +- .../scalar/noderiv/CMAESOptimizer.java | 2 +- .../MultiStartUnivariateOptimizer.java | 2 +- .../math4/random/GaussianRandomGenerator.java | 2 +- .../commons/math4/random/JDKRandomAdaptor.java | 2 +- .../commons/math4/random/RandomGenerator.java | 2 +- .../commons/math4/random/RandomUtils.java | 2 +- .../apache/commons/math4/random/RngAdaptor.java | 4 +- .../math4/random/StableRandomGenerator.java | 2 +- .../math4/random/UniformRandomGenerator.java| 2 +- .../random/UnitSphereRandomVectorGenerator.java | 4 +- .../apache/commons/math4/rng/RandomSource.java | 418 .../math4/rng/UniformRandomProvider.java| 118 .../math4/rng/internal/BaseProvider.java| 141 .../math4/rng/internal/ProviderBuilder.java | 346 -- .../math4/rng/internal/StateSettable.java | 49 -- .../math4/rng/internal/package-info.java| 51 -- .../rng/internal/source32/AbstractWell.java | 208 -- .../rng/internal/source32/ISAACRandom.java | 270 .../rng/internal/source32/IntProvider.java | 137 .../math4/rng/internal/source32/JDKRandom.java | 95 --- .../rng/internal/source32/MersenneTwister.java | 230 --- .../rng/internal/source32/RandomIntSource.java | 30 - .../math4/rng/internal/source32/Well1024a.java | 78 --- .../math4/rng/internal/source32/Well19937a.java | 80 --- .../math4/rng/internal/source32/Well19937c.java | 85 --- .../math4/rng/internal/source32/Well44497a.java | 83 --- .../math4/rng/internal/source32/Well44497b.java | 90 --- .../math4/rng/internal/source32/Well512a.java | 78 --- .../rng/internal/source32/package-info.java | 52 -- .../rng/internal/source64/LongProvider.java | 141 .../internal/source64/MersenneTwister64.java| 201 -- .../rng/internal/source64/RandomLongSource.java | 30 - .../math4/rng/internal/source64/SplitMix64.java | 78 --- .../math4/rng/internal/source64/TwoCmres.java | 310 - .../rng/internal/source64/XorShift1024Star.java | 108 --- .../rng/internal/source64/package-info.java | 52 -- .../math4/rng/internal/util/Int2Long.java | 37 - .../math4/rng/internal/util/IntArray2Int.java | 41 -- .../rng/internal/util/IntArray2LongArray.java | 44 -- .../math4/rng/internal/util/Long2Int.java | 36 - .../math4/rng/internal/util/Long2IntArray.java | 50 -- .../math4/rng/internal/util/Long2LongArray.java | 56 -- .../rng/internal/util/LongArray2IntArray.java | 43 --
[04/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/eeeb553c/src/test/java/org/apache/commons/math4/analysis/differentiation/DerivativeStructureTest.java -- diff --git a/src/test/java/org/apache/commons/math4/analysis/differentiation/DerivativeStructureTest.java b/src/test/java/org/apache/commons/math4/analysis/differentiation/DerivativeStructureTest.java index 1bb7718..7c64d1a 100644 --- a/src/test/java/org/apache/commons/math4/analysis/differentiation/DerivativeStructureTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/differentiation/DerivativeStructureTest.java @@ -26,8 +26,8 @@ import org.apache.commons.math4.analysis.differentiation.DerivativeStructure; import org.apache.commons.math4.analysis.polynomials.PolynomialFunction; import org.apache.commons.math4.exception.DimensionMismatchException; import org.apache.commons.math4.exception.NumberIsTooLargeException; -import org.apache.commons.math4.rng.UniformRandomProvider; -import org.apache.commons.math4.rng.RandomSource; +import org.apache.commons.rng.UniformRandomProvider; +import org.apache.commons.rng.RandomSource; import org.apache.commons.math4.util.ArithmeticUtils; import org.apache.commons.math4.util.CombinatoricsUtils; import org.apache.commons.math4.util.FastMath; http://git-wip-us.apache.org/repos/asf/commons-math/blob/eeeb553c/src/test/java/org/apache/commons/math4/analysis/differentiation/SparseGradientTest.java -- diff --git a/src/test/java/org/apache/commons/math4/analysis/differentiation/SparseGradientTest.java b/src/test/java/org/apache/commons/math4/analysis/differentiation/SparseGradientTest.java index 569d540..2f2b347 100644 --- a/src/test/java/org/apache/commons/math4/analysis/differentiation/SparseGradientTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/differentiation/SparseGradientTest.java @@ -22,8 +22,8 @@ import java.util.List; import org.apache.commons.math4.ExtendedFieldElementAbstractTest; import org.apache.commons.math4.TestUtils; import org.apache.commons.math4.analysis.polynomials.PolynomialFunction; -import org.apache.commons.math4.rng.UniformRandomProvider; -import org.apache.commons.math4.rng.RandomSource; +import org.apache.commons.rng.UniformRandomProvider; +import org.apache.commons.rng.RandomSource; import org.apache.commons.math4.util.FastMath; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/eeeb553c/src/test/java/org/apache/commons/math4/analysis/function/LogitTest.java -- diff --git a/src/test/java/org/apache/commons/math4/analysis/function/LogitTest.java b/src/test/java/org/apache/commons/math4/analysis/function/LogitTest.java index ea5c10d..1bb7fe0 100644 --- a/src/test/java/org/apache/commons/math4/analysis/function/LogitTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/function/LogitTest.java @@ -26,8 +26,8 @@ import org.apache.commons.math4.analysis.function.Sigmoid; import org.apache.commons.math4.exception.DimensionMismatchException; import org.apache.commons.math4.exception.NullArgumentException; import org.apache.commons.math4.exception.OutOfRangeException; -import org.apache.commons.math4.rng.RandomSource; -import org.apache.commons.math4.rng.UniformRandomProvider; +import org.apache.commons.rng.RandomSource; +import org.apache.commons.rng.UniformRandomProvider; import org.apache.commons.math4.util.FastMath; import org.junit.Assert; import org.junit.Test; http://git-wip-us.apache.org/repos/asf/commons-math/blob/eeeb553c/src/test/java/org/apache/commons/math4/analysis/interpolation/AkimaSplineInterpolatorTest.java -- diff --git a/src/test/java/org/apache/commons/math4/analysis/interpolation/AkimaSplineInterpolatorTest.java b/src/test/java/org/apache/commons/math4/analysis/interpolation/AkimaSplineInterpolatorTest.java index 9eeb33a..2fa667e 100644 --- a/src/test/java/org/apache/commons/math4/analysis/interpolation/AkimaSplineInterpolatorTest.java +++ b/src/test/java/org/apache/commons/math4/analysis/interpolation/AkimaSplineInterpolatorTest.java @@ -26,8 +26,8 @@ import org.apache.commons.math4.exception.DimensionMismatchException; import org.apache.commons.math4.exception.NonMonotonicSequenceException; import org.apache.commons.math4.exception.NullArgumentException; import org.apache.commons.math4.exception.NumberIsTooSmallException; -import org.apache.commons.math4.rng.UniformRandomProvider; -import org.apache.commons.math4.rng.RandomSource; +import org.apache.commons.rng.UniformRandomProvider; +import org.apache.commons.rng.RandomSource; import org.apache.commons.math4.util.FastMath; import org.apache.commons.math4.util.Precision; import org.junit.Assert; http://git-wip-us.apache.or
[13/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_6 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_6 b/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_6 deleted file mode 100644 index 878eb4a..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_6 +++ /dev/null @@ -1,3803 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source32.Well19937c -# -# 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.21 - - -CPU time used: 00:02:13.78 - -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.84 - - -CPU time used: 00:03:11.81 - -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 : 1378 -p-value of test :0.36 - -- -Total number of cells containing j balls - - j = 0 : 131940795334498 - j = 1 :57244 - j = 2 : 1378 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:05:24.11 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N = 30, n = 2000,
[01/40] [math] MATH-1383
Repository: commons-math Updated Branches: refs/heads/develop__dependent_on_commons_rng [created] d14573fe3 http://git-wip-us.apache.org/repos/asf/commons-math/blob/eeeb553c/src/test/java/org/apache/commons/math4/rng/internal/source64/MersenneTwister64Test.java -- diff --git a/src/test/java/org/apache/commons/math4/rng/internal/source64/MersenneTwister64Test.java b/src/test/java/org/apache/commons/math4/rng/internal/source64/MersenneTwister64Test.java deleted file mode 100644 index dd3ffca..000 --- a/src/test/java/org/apache/commons/math4/rng/internal/source64/MersenneTwister64Test.java +++ /dev/null @@ -1,239 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.commons.math4.rng.internal.source64; - -import org.junit.Assert; -import org.junit.Test; - -public class MersenneTwister64Test { -@Test -public void testMakotoNishimura() { -final MersenneTwister64 rng = new MersenneTwister64(new long[] { 0x12345L, 0x23456L, 0x34567L, 0x45678L }); - -/* - * Data from - * http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/mt19937-64.out.txt - * converted to hexadecimal. - */ -final long[] refLong = { -0x64d79b552a559d7fL, 0x44a572665a6ee240L, 0xeb2bf6dc3d72135cL, 0xe3836981f9f82ea0L, 0x43a38212350ee392L, -0xce77502bffcacf8bL, 0x5d8a82d90126f0e7L, 0xc0510c6f402c1e3cL, 0x48d895bf8b69f77bL, 0x8d9fbb371f1de07fL, -0x1126b97be8c91ce2L, 0xf05e1c9dc2674be2L, 0xe4d5327a12874c1eL, 0x7c1951ea43a7500dL, 0xbba2bbfbecbc239aL, -0xc5704350b17f0215L, 0x823a67c5f88337e7L, 0xd9bf140bfeb4c1a9L, 0x9fbe3cfcd1f08059L, 0xdc29309412e352b9L, -0x5a0ff7908b1b3c57L, 0x46f39cb43b126c55L, 0x9648168491f3b126L, 0xdd3e72538fd39a1cL, 0xd65a3663fc9b0898L, -0x421ee7823c2af2ebL, 0xcba3a4b69b6ed152L, 0x348399b7d2b8428L, 0xbdb750bf00c34a38L, 0xcf36d95eae514f52L, -0x7b9231d5308d7534L, 0xb225e28cfc5aa663L, 0xa833f6d5c72448a4L, 0xdaa565f5815de899L, 0x4b051d1e4cc78eb8L, -0x97fcd1b4d342e575L, 0xef6a48be001729c7L, 0x3982f1fa31afeab8L, 0xfdc570ba2fe979fbL, 0xb57697121dfdfe93L, -0x96524e209b767c29L, 0x55aad0ebca994043L, 0xb22687b88856b63eL, 0xb313b667a4d999d6L, 0x7c7fa1bd6fd7deaL, -0xee9f4c15c57e92aL, 0xc5fb71b8f4bf5f56L, 0xa251f93a4b335492L, 0xb9bad7f9e5b07befL, 0x62fc9ac35ccde7aaL, -0x933792382b0218a3L, 0x7d497d2f7a15eaf8L, 0xb2f0624214f522a2L, 0xd9895bbb810ec3d6L, 0x22d91b683f251121L, -0xc8fe9a347247affdL, 0x3462898a2ae7b001L, 0x468bc3a10a34890cL, 0x84ff6ce56552b185L, 0xed95ff232c511188L, -0x4869be47a8137c83L, 0x934606951e6fcd81L, 0x1ab5e8e453bde710L, 0x6386b61b30fa1157L, 0x97f3a778e242d0cfL, -0xd870d281b293af3dL, 0xc3a5f903a836fafdL, 0x88bd6a24d49cd77L, 0x4e38ddc2719162a5L, 0xf48286b4f22cad94L, -0x80f6f650c337557L, 0x5e6daf6aae1ad59L, 0x7450f7229f336762L, 0xb75b43fb4c81784aL, 0xebd37a514f153148L, -0xd4b3a39e0bc52c7L, 0x562f36fae610a2e1L, 0xe0e413e555bd736L, 0xd452549efe08402dL, 0xf2e2ff7be2c75e21L, -0xf2385606c18aaf0dL, 0xdb609b507d8c6b8bL, 0x74ac5663c6c4f45bL, 0xd84c9a356858060L, 0x19d5b3643bc029b6L, -0xdd8131e97ffc842L, 0xfa7303606bfffc05L, 0xf98c6d63ff48a16eL, 0x34df46aa2d610767L, 0x83490ef054537f7eL, -0xe071f833e55ebfe6L, 0xd4b94537ed4a6aaL, 0x3cf85e4e333966fdL, 0xba15364649384016L, 0xc0e6bd623ca72405L, -0xdae6e879b8eab74aL, 0xe4a41f17e70d3e0aL, 0x56e10c00dd580f70L, 0xa9a66bb41781d872L, 0x58e42dbdffe21573L, -0x69450e1ce9674e6aL, 0x47fe345a350aa605L, 0xac958aa80455a5a4L, 0xbc1abca3fbeeb2f3L, 0x8f760d9228900a4L, -0x9e1eb8a2dfec4387L, 0xe91bd1321f5fdc89L, 0xda11a24c514b9dc7L, 0xb1f63d976e0e639bL, 0x41c11098f6123861L, -0x3d7736979f978f68L, 0x820685b38c926beL, 0xe8c3dcab075b112L, 0x5e37299d89089ba4L, 0xa1f735eb8235b32fL, -0x2289d719e7b146eeL, 0x1c9c9d0284d96719L, 0x5f8b358546775be8L, 0x317e34c009a07a39L, 0xb16b073eb0ee0a19L, -0x423b36fd459f2a66L, 0x5f45053666f3f84fL, 0x63e7074f03c73d92L, 0x22080cf2
[03/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/eeeb553c/src/test/java/org/apache/commons/math4/rng/ProvidersCommonParametricTest.java -- diff --git a/src/test/java/org/apache/commons/math4/rng/ProvidersCommonParametricTest.java b/src/test/java/org/apache/commons/math4/rng/ProvidersCommonParametricTest.java deleted file mode 100644 index 2e1e8f2..000 --- a/src/test/java/org/apache/commons/math4/rng/ProvidersCommonParametricTest.java +++ /dev/null @@ -1,667 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.commons.math4.rng; - -import java.util.Arrays; -import java.util.List; -import java.util.ArrayList; -import java.util.concurrent.Callable; -import java.io.IOException; -import java.io.ObjectOutputStream; -import java.io.ObjectInputStream; -import java.io.ByteArrayOutputStream; -import java.io.ByteArrayInputStream; - -import org.junit.Assert; -import org.junit.Test; -import org.junit.Assume; -import org.junit.runner.RunWith; -import org.junit.runners.Parameterized; -import org.junit.runners.Parameterized.Parameters; - -import org.apache.commons.math4.exception.MathUnsupportedOperationException; -import org.apache.commons.math4.exception.MathIllegalArgumentException; -import org.apache.commons.math4.exception.InsufficientDataException; -import org.apache.commons.math4.exception.OutOfRangeException; -import org.apache.commons.math4.distribution.RealDistribution; -import org.apache.commons.math4.distribution.UniformRealDistribution; -import org.apache.commons.math4.stat.inference.KolmogorovSmirnovTest; -import org.apache.commons.math4.stat.inference.ChiSquareTest; -import org.apache.commons.math4.util.FastMath; -import org.apache.commons.math4.rng.internal.util.NumberFactory; - -/** - * Test for tests which all generators must pass. - */ -@RunWith(value=Parameterized.class) -public class ProvidersCommonParametricTest { -/** RNG under test. */ -private final UniformRandomProvider generator; -/** RNG specifier. */ -private final RandomSource originalSource; -/** Seed (constructor's first parameter). */ -private final Object originalSeed; -/** Constructor's additional parameters. */ -private final Object[] originalArgs; - -/** - * Initializes generator instance. - * - * @param rng RNG to be tested. - */ -public ProvidersCommonParametricTest(ProvidersList.Data data) { -originalSource = data.getSource(); -originalSeed = data.getSeed(); -originalArgs = data.getArgs(); -generator = RandomSource.create(originalSource, originalSeed, originalArgs); -} - -@Parameters(name = "{index}: data={0}") -public static Iterable getList() { -return ProvidersList.list(); -} - - -// Precondition tests - -@Test(expected=MathIllegalArgumentException.class) -public void testPreconditionNextInt1() { -generator.nextInt(-1); -} - -@Test(expected=MathIllegalArgumentException.class) -public void testPreconditionNextInt2() { -generator.nextInt(0); -} - -@Test(expected=MathIllegalArgumentException.class) -public void testPreconditionNextLong1() { -generator.nextLong(-1); -} - -@Test(expected=MathIllegalArgumentException.class) -public void testPreconditionNextLong2() { -generator.nextLong(0); -} - -@Test(expected=OutOfRangeException.class) -public void testPreconditionNextBytes1() { -final int size = 10; -final int num = 1; -final byte[] buf = new byte[size]; -generator.nextBytes(buf, -1, num); -} -@Test(expected=OutOfRangeException.class) -public void testPreconditionNextBytes2() { -final int size = 10; -final byte[] buf = new byte[size]; -generator.nextBytes(buf, size, 0); -} -@Test(expected=OutOfRangeException.class) -public void testPreconditionNextBytes3() { -final int size = 10; -final int offset = 2; -final byte[] buf = new byte[size]; -generator.nextBytes(buf, offset, size - offset + 1); -} -@Test(expected=OutOfRangeException.class) -public void te
[16/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_3 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_3 b/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_3 deleted file mode 100644 index 8ca22c4..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_3 +++ /dev/null @@ -1,3808 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source32.Well512a -# -# 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.34 - - -CPU time used: 00:02:10.91 - -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.59 - - -CPU time used: 00:02:17.60 - -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 : 1277 -p-value of test :0.9911 - -- -Total number of cells containing j balls - - j = 0 : 131940795334397 - j = 1 :57446 - j = 2 : 1277 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:05:16.17 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N = 30, n = 2000,
[10/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_9 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_9 b/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_9 deleted file mode 100644 index 3321902..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_9 +++ /dev/null @@ -1,3795 +0,0 @@ -# -# RNG: org.apache.commons.math4.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.34 - - -CPU time used: 00:02:14.28 - -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.93 - - -CPU time used: 00:02:14.31 - -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 : 1352 -p-value of test :0.62 - -- -Total number of cells containing j balls - - j = 0 : 131940795334472 - j = 1 :57296 - j = 2 : 1352 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:05:41.87 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N = 30, n = 2000,
[11/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_8 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_8 b/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_8 deleted file mode 100644 index 6b3e084..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_8 +++ /dev/null @@ -1,3803 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source32.Well44497b -# -# 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.92 - - -CPU time used: 00:02:14.61 - -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.80 - - -CPU time used: 00:02:23.50 - -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 : 1372 -p-value of test :0.42 - -- -Total number of cells containing j balls - - j = 0 : 131940795334492 - j = 1 :57256 - j = 2 : 1372 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:05:34.52 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N = 30, n = 2000,
[17/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_2 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_2 b/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_2 deleted file mode 100644 index 11cdb90..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_2 +++ /dev/null @@ -1,3803 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source32.MersenneTwister -# -# 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.67 - - -CPU time used: 00:03:01.40 - -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.16 - - -CPU time used: 00:02:51.94 - -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 : 1369 -p-value of test :0.45 - -- -Total number of cells containing j balls - - j = 0 : 131940795334489 - j = 1 :57262 - j = 2 : 1369 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:05:01.53 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N = 30, n = 2
[15/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_4 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_4 b/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_4 deleted file mode 100644 index 7db11e7..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_4 +++ /dev/null @@ -1,3805 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source32.Well1024a -# -# 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.08 - - -CPU time used: 00:02:53.13 - -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.71 - - -CPU time used: 00:02:37.81 - -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 : 1332 -p-value of test :0.80 - -- -Total number of cells containing j balls - - j = 0 : 131940795334452 - j = 1 :57336 - j = 2 : 1332 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:05:29.16 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N = 30, n = 2000,
[22/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_1 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_1 b/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_1 deleted file mode 100644 index d6c6991..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_1 +++ /dev/null @@ -1,3879 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source32.JDKRandom -# -# 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.99e+9 -p-value of test : eps * - - -CPU time used: 00:02:13.19 - -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.9969 - - -CPU time used: 00:02:19.32 - -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 :0 -p-value of test : 1 - eps1* - -- -Total number of cells containing j balls - - j = 0 : 131940795333120 - j = 1 :6 - j = 2 :0 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:05:40.80 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N =
[06/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/eeeb553c/src/main/java/org/apache/commons/math4/rng/internal/ProviderBuilder.java -- diff --git a/src/main/java/org/apache/commons/math4/rng/internal/ProviderBuilder.java b/src/main/java/org/apache/commons/math4/rng/internal/ProviderBuilder.java deleted file mode 100644 index f38b679..000 --- a/src/main/java/org/apache/commons/math4/rng/internal/ProviderBuilder.java +++ /dev/null @@ -1,346 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.commons.math4.rng.internal; - -import java.util.Arrays; -import java.util.List; -import java.util.ArrayList; -import java.util.Map; -import java.util.HashMap; -import java.lang.reflect.Constructor; -import java.lang.reflect.InvocationTargetException; - -import org.apache.commons.math4.exception.MathUnsupportedOperationException; -import org.apache.commons.math4.exception.MathInternalError; -import org.apache.commons.math4.rng.UniformRandomProvider; -import org.apache.commons.math4.rng.internal.util.SeedFactory; -import org.apache.commons.math4.rng.internal.util.NoOpConverter; -import org.apache.commons.math4.rng.internal.util.Int2Long; -import org.apache.commons.math4.rng.internal.util.Long2Int; -import org.apache.commons.math4.rng.internal.util.Long2IntArray; -import org.apache.commons.math4.rng.internal.util.Long2LongArray; -import org.apache.commons.math4.rng.internal.util.IntArray2LongArray; -import org.apache.commons.math4.rng.internal.util.LongArray2IntArray; -import org.apache.commons.math4.rng.internal.util.LongArray2Long; -import org.apache.commons.math4.rng.internal.util.IntArray2Int; -import org.apache.commons.math4.rng.internal.util.SeedConverter; -import org.apache.commons.math4.rng.internal.util.SeedConverterComposer; -import org.apache.commons.math4.rng.internal.source32.JDKRandom; -import org.apache.commons.math4.rng.internal.source32.Well512a; -import org.apache.commons.math4.rng.internal.source32.Well1024a; -import org.apache.commons.math4.rng.internal.source32.Well19937a; -import org.apache.commons.math4.rng.internal.source32.Well19937c; -import org.apache.commons.math4.rng.internal.source32.Well44497a; -import org.apache.commons.math4.rng.internal.source32.Well44497b; -import org.apache.commons.math4.rng.internal.source32.ISAACRandom; -import org.apache.commons.math4.rng.internal.source32.MersenneTwister; -import org.apache.commons.math4.rng.internal.source64.SplitMix64; -import org.apache.commons.math4.rng.internal.source64.XorShift1024Star; -import org.apache.commons.math4.rng.internal.source64.TwoCmres; -import org.apache.commons.math4.rng.internal.source64.MersenneTwister64; - -/** - * RNG builder. - * - * It uses reflection to find the factory method of the RNG implementation, - * and performs seed type conversions. - * - */ -public class ProviderBuilder { -/** Length of the seed array (for random seed). */ -private static final int RANDOM_SEED_ARRAY_SIZE = 128; -/** Seed converter. */ -private static final Long2Int LONG_TO_INT = new Long2Int(); -/** Seed converter. */ -private static final Int2Long INT_TO_LONG = new Int2Long(); -/** Seed converter. */ -private static final Long2IntArray LONG_TO_INT_ARRAY = new Long2IntArray(RANDOM_SEED_ARRAY_SIZE); -/** Seed converter. */ -private static final Long2LongArray LONG_TO_LONG_ARRAY = new Long2LongArray(RANDOM_SEED_ARRAY_SIZE); -/** Seed converter. */ -private static final LongArray2Long LONG_ARRAY_TO_LONG = new LongArray2Long(); -/** Seed converter. */ -private static final IntArray2Int INT_ARRAY_TO_INT = new IntArray2Int(); -/** Seed converter. */ -private static final LongArray2IntArray LONG_ARRAY_TO_INT_ARRAY = new LongArray2IntArray(); -/** Seed converter. */ -private static final IntArray2LongArray INT_ARRAY_TO_LONG_ARRAY = new IntArray2LongArray(); -/** Map to convert "Integer" seeds. */ -private static final Map, SeedConverter> CONV_INT = new HashMap<>(); -/** Map to convert "int[]" seeds. */ -private static final Map, SeedConverter> CONV_INT_ARRAY = new HashMap<>(); -/** Map to conver
[24/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_8 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_8 b/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_8 deleted file mode 100644 index 042d209..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_8 +++ /dev/null @@ -1,3804 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source32.Well44497b -# -# 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.54 - - -CPU time used: 00:01:55.29 - -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.92 - - -CPU time used: 00:01:42.19 - -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 : 1367 -p-value of test :0.47 - -- -Total number of cells containing j balls - - j = 0 : 131940795334487 - j = 1 :57266 - j = 2 : 1367 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:04:17.61 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N = 30, n = 2000,
[18/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_13 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_13 b/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_13 deleted file mode 100644 index 5f00b96..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_13 +++ /dev/null @@ -1,3795 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source64.TwoCmres (Cmres: [0xedce446814d3b3d9L, 33, 330658535] + Cmres: [0xc5b3cf786c806df7L, 33, 331932042]) -# -# 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.84 - - -CPU time used: 00:03:06.34 - -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.89 - - -CPU time used: 00:02:55.87 - -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 : 1370 -p-value of test :0.44 - -- -Total number of cells containing j balls - - j = 0 : 131940795334490 - j = 1 :57260 - j = 2 : 1370 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:05:36.64 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_Mu
[19/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_12 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_12 b/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_12 deleted file mode 100644 index 21fd51a..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_12 +++ /dev/null @@ -1,3795 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source64.XorShift1024Star -# -# 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.86 - - -CPU time used: 00:02:23.40 - -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.44 - - -CPU time used: 00:02:19.68 - -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 : 1412 -p-value of test :0.10 - -- -Total number of cells containing j balls - - j = 0 : 131940795334532 - j = 1 :57176 - j = 2 : 1412 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:06:11.65 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N = 30, n =
[12/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_7 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_7 b/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_7 deleted file mode 100644 index 578285c..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_7 +++ /dev/null @@ -1,3803 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source32.Well44497a -# -# 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.11 - - -CPU time used: 00:02:16.69 - -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.35 - - -CPU time used: 00:02:23.16 - -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 : 1463 -p-value of test : 4.2e-3 - -- -Total number of cells containing j balls - - j = 0 : 131940795334583 - j = 1 :57074 - j = 2 : 1463 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:05:34.57 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N = 30, n = 2000,
[39/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/dh/run_1/dh_3 -- diff --git a/src/site/resources/txt/userguide/rng/stress/dh/run_1/dh_3 b/src/site/resources/txt/userguide/rng/stress/dh/run_1/dh_3 deleted file mode 100644 index 3ac5a01..000 --- a/src/site/resources/txt/userguide/rng/stress/dh/run_1/dh_3 +++ /dev/null @@ -1,173 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source32.Well512a -# -# 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: /usr/bin/dieharder -a -g 200 -Y 1 -k 2 -# -#=# -#dieharder version 3.31.1 Copyright 2003 Robert G. Brown # -#=# - rng_name|rands/second| Seed | -stdin_input_raw| 8.51e+06 |4211420527| -#=# -test_name |ntup| tsamples |psamples| p-value |Assessment -#=# - diehard_birthdays| 0| 100| 100|0.73569699| PASSED - diehard_operm5| 0| 100| 100|0.08622316| PASSED - diehard_rank_32x32| 0| 4| 100|0.80836729| PASSED -diehard_rank_6x8| 0|10| 100|0.99111559| PASSED - diehard_bitstream| 0| 2097152| 100|0.83659726| PASSED -diehard_opso| 0| 2097152| 100|0.70330969| PASSED -diehard_oqso| 0| 2097152| 100|0.65389789| PASSED - diehard_dna| 0| 2097152| 100|0.48126817| PASSED -diehard_count_1s_str| 0|256000| 100|0.90155342| PASSED -diehard_count_1s_byt| 0|256000| 100|0.24169832| PASSED - diehard_parking_lot| 0| 12000| 100|0.95085394| PASSED -diehard_2dsphere| 2| 8000| 100|0.70520965| PASSED -diehard_3dsphere| 3| 4000| 100|0.99881464| WEAK -diehard_3dsphere| 3| 4000| 200|0.65540217| PASSED - diehard_squeeze| 0|10| 100|0.88558219| PASSED -diehard_sums| 0| 100| 100|0.97435568| PASSED -diehard_runs| 0|10| 100|0.46447902| PASSED -diehard_runs| 0|10| 100|0.77608604| PASSED - diehard_craps| 0|20| 100|0.74670227| PASSED - diehard_craps| 0|20| 100|0.07572357| PASSED - marsaglia_tsang_gcd| 0| 1000| 100|0.49225755| PASSED - marsaglia_tsang_gcd| 0| 1000| 100|0.01154094| PASSED - sts_monobit| 1|10| 100|0.51545966| PASSED -sts_runs| 2|10| 100|0.46898980| PASSED - sts_serial| 1|10| 100|0.48264154| PASSED - sts_serial| 2|10| 100|0.87095634| PASSED - sts_serial| 3|10| 100|0.93502495| PASSED - sts_serial| 3|10| 100|0.92442039| PASSED - sts_serial| 4|10| 100|0.20983709| PASSED - sts_serial| 4|10| 100|0.11248912| PASSED - sts_serial| 5|10| 100|0.33340568| PASSED - sts_serial| 5|10| 100|0.83923511| PASSED - sts_serial| 6|10| 100|0.77159773| PASSED - sts_serial| 6|10| 100|0.99729842| WEAK - sts_serial| 7|10| 100|0.69682384| PASSED - sts_serial| 7|10| 100|0.49451383| PASSED - sts_serial| 8|10| 100|0.21687301| PASSED - sts_serial| 8|10| 100|0.20732811| PASSED - sts_serial| 9|10| 100|0.15358619| PASSED - sts_serial| 9|10| 100|0.79842773| PASSED - sts_serial| 10|10| 100|0.28868417| PASSED - sts_serial| 10|10| 100|0.72864074| PASSED - sts_serial| 11|10| 100|0.52528201| PASSED - sts_serial| 11|10| 100|0.56684576| PASSED - sts_serial| 12|10| 100|0.94363896| PASSED - sts_serial| 12|10| 100|0.75370192| PASSED - sts_serial| 13|10| 100|0.64929204| PASSED - sts_serial| 13|10| 100|0.16172691| PASSED - sts_serial| 14|10| 100|0.25057488| PASSED - sts_serial| 14|10| 100|0.48541434| PASSED - sts_serial| 15|10| 100|0.22064194| PASSED - sts_serial| 15|10| 100|0.01808135| PASSED - sts_serial| 16|10| 100|0.80793746| PASSED - sts_serial| 16|10| 100|0.43
[25/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_7 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_7 b/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_7 deleted file mode 100644 index 81573d0..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_7 +++ /dev/null @@ -1,3803 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source32.Well44497a -# -# 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.84 - - -CPU time used: 00:02:20.71 - -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.16 - - -CPU time used: 00:02:00.30 - -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 : 1360 -p-value of test :0.54 - -- -Total number of cells containing j balls - - j = 0 : 131940795334480 - j = 1 :57280 - j = 2 : 1360 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:04:17.19 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N = 30, n = 2000,
[30/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_2 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_2 b/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_2 deleted file mode 100644 index a5a08d0..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_2 +++ /dev/null @@ -1,3803 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source32.MersenneTwister -# -# 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.78 - - -CPU time used: 00:02:11.53 - -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.36 - - -CPU time used: 00:01:44.50 - -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 : 1411 -p-value of test :0.11 - -- -Total number of cells containing j balls - - j = 0 : 131940795334531 - j = 1 :57178 - j = 2 : 1411 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:04:15.49 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N = 30, n = 20
[28/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_4 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_4 b/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_4 deleted file mode 100644 index 5ac1aae..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_4 +++ /dev/null @@ -1,3806 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source32.Well1024a -# -# 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.14 - - -CPU time used: 00:02:15.65 - -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.43 - - -CPU time used: 00:01:39.24 - -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 : 1420 -p-value of test :0.07 - -- -Total number of cells containing j balls - - j = 0 : 131940795334540 - j = 1 :57160 - j = 2 : 1420 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:04:13.98 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N = 30, n = 2000, r
[31/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_13 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_13 b/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_13 deleted file mode 100644 index 9496500..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_13 +++ /dev/null @@ -1,3802 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source64.TwoCmres (Cmres: [0xedce446814d3b3d9L, 33, 330658535] + Cmres: [0xc5b3cf786c806df7L, 33, 331932042]) -# -# 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.97 - - -CPU time used: 00:01:48.06 - -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.18 - - -CPU time used: 00:01:45.25 - -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 : 1324 -p-value of test :0.86 - -- -Total number of cells containing j balls - - j = 0 : 13194079533 - j = 1 :57352 - j = 2 : 1324 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:04:10.60 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_Mul
[34/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_10 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_10 b/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_10 deleted file mode 100644 index bb38491..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_10 +++ /dev/null @@ -1,3803 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source64.MersenneTwister64 -# -# 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.89 - - -CPU time used: 00:01:55.65 - -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.21 - - -CPU time used: 00:01:40.84 - -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 : 1403 -p-value of test :0.15 - -- -Total number of cells containing j balls - - j = 0 : 131940795334523 - j = 1 :57194 - j = 2 : 1403 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:04:26.23 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N = 30, n =
[21/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_10 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_10 b/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_10 deleted file mode 100644 index 19d9917..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_10 +++ /dev/null @@ -1,3803 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source64.MersenneTwister64 -# -# 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.38 - - -CPU time used: 00:02:14.16 - -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.71 - - -CPU time used: 00:02:19.00 - -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 : 1386 -p-value of test :0.28 - -- -Total number of cells containing j balls - - j = 0 : 131940795334506 - j = 1 :57228 - j = 2 : 1386 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:05:00.67 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N = 30, n =
[32/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_12 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_12 b/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_12 deleted file mode 100644 index 4d9d01a..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_12 +++ /dev/null @@ -1,3803 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source64.XorShift1024Star -# -# 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:12.69 - -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.76 - - -CPU time used: 00:01:35.97 - -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 : 1351 -p-value of test :0.63 - -- -Total number of cells containing j balls - - j = 0 : 131940795334471 - j = 1 :57298 - j = 2 : 1351 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:06:20.64 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N = 30, n = 2
[38/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/dh/run_2/dh_10 -- diff --git a/src/site/resources/txt/userguide/rng/stress/dh/run_2/dh_10 b/src/site/resources/txt/userguide/rng/stress/dh/run_2/dh_10 deleted file mode 100644 index 43d9631..000 --- a/src/site/resources/txt/userguide/rng/stress/dh/run_2/dh_10 +++ /dev/null @@ -1,172 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source64.MersenneTwister64 -# -# 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: /usr/bin/dieharder -a -g 200 -Y 1 -k 2 -# -#=# -#dieharder version 3.31.1 Copyright 2003 Robert G. Brown # -#=# - rng_name|rands/second| Seed | -stdin_input_raw| 8.43e+06 | 65196341| -#=# -test_name |ntup| tsamples |psamples| p-value |Assessment -#=# - diehard_birthdays| 0| 100| 100|0.77393593| PASSED - diehard_operm5| 0| 100| 100|0.17506318| PASSED - diehard_rank_32x32| 0| 4| 100|0.95522455| PASSED -diehard_rank_6x8| 0|10| 100|0.53205969| PASSED - diehard_bitstream| 0| 2097152| 100|0.23688694| PASSED -diehard_opso| 0| 2097152| 100|0.73918395| PASSED -diehard_oqso| 0| 2097152| 100|0.31135650| PASSED - diehard_dna| 0| 2097152| 100|0.44805445| PASSED -diehard_count_1s_str| 0|256000| 100|0.01849881| PASSED -diehard_count_1s_byt| 0|256000| 100|0.67854943| PASSED - diehard_parking_lot| 0| 12000| 100|0.83699181| PASSED -diehard_2dsphere| 2| 8000| 100|0.82267572| PASSED -diehard_3dsphere| 3| 4000| 100|0.91560437| PASSED - diehard_squeeze| 0|10| 100|0.02920041| PASSED -diehard_sums| 0| 100| 100|0.40395437| PASSED -diehard_runs| 0|10| 100|0.81213684| PASSED -diehard_runs| 0|10| 100|0.71356831| PASSED - diehard_craps| 0|20| 100|0.14777897| PASSED - diehard_craps| 0|20| 100|0.23480249| PASSED - marsaglia_tsang_gcd| 0| 1000| 100|0.28319249| PASSED - marsaglia_tsang_gcd| 0| 1000| 100|0.46725297| PASSED - sts_monobit| 1|10| 100|0.90843962| PASSED -sts_runs| 2|10| 100|0.99601137| WEAK -sts_runs| 2|10| 200|0.85241048| PASSED - sts_serial| 1|10| 100|0.57903662| PASSED - sts_serial| 2|10| 100|0.92277059| PASSED - sts_serial| 3|10| 100|0.85558613| PASSED - sts_serial| 3|10| 100|0.82689250| PASSED - sts_serial| 4|10| 100|0.21146680| PASSED - sts_serial| 4|10| 100|0.87093728| PASSED - sts_serial| 5|10| 100|0.54737605| PASSED - sts_serial| 5|10| 100|0.89422059| PASSED - sts_serial| 6|10| 100|0.98154808| PASSED - sts_serial| 6|10| 100|0.65700573| PASSED - sts_serial| 7|10| 100|0.43081117| PASSED - sts_serial| 7|10| 100|0.34762085| PASSED - sts_serial| 8|10| 100|0.46617263| PASSED - sts_serial| 8|10| 100|0.64056917| PASSED - sts_serial| 9|10| 100|0.95246172| PASSED - sts_serial| 9|10| 100|0.45537826| PASSED - sts_serial| 10|10| 100|0.49564166| PASSED - sts_serial| 10|10| 100|0.18647826| PASSED - sts_serial| 11|10| 100|0.88334832| PASSED - sts_serial| 11|10| 100|0.99729981| WEAK - sts_serial| 12|10| 100|0.04487347| PASSED - sts_serial| 12|10| 100|0.07061114| PASSED - sts_serial| 13|10| 100|0.54891810| PASSED - sts_serial| 13|10| 100|0.68499137| PASSED - sts_serial| 14|10| 100|0.16635928| PASSED - sts_serial| 14|10| 100|0.71003648| PASSED - sts_serial| 15|10| 100|0.08063234| PASSED - sts_serial| 15|10| 100|0.97293993| PASSED - sts_serial| 16|10| 100|0.40370620| PASSED - sts_serial| 16|10|
[23/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_9 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_9 b/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_9 deleted file mode 100644 index c937529..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_9 +++ /dev/null @@ -1,3802 +0,0 @@ -# -# RNG: org.apache.commons.math4.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.73 - - -CPU time used: 00:01:47.81 - -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.68 - - -CPU time used: 00:01:55.15 - -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 : 1372 -p-value of test :0.42 - -- -Total number of cells containing j balls - - j = 0 : 131940795334492 - j = 1 :57256 - j = 2 : 1372 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:03:53.12 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N = 30, n = 2000,
[36/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/dh/run_2/dh_8 -- diff --git a/src/site/resources/txt/userguide/rng/stress/dh/run_2/dh_8 b/src/site/resources/txt/userguide/rng/stress/dh/run_2/dh_8 deleted file mode 100644 index 6e6eebb..000 --- a/src/site/resources/txt/userguide/rng/stress/dh/run_2/dh_8 +++ /dev/null @@ -1,800 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source32.Well44497b -# -# 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: /usr/bin/dieharder -a -g 200 -Y 1 -k 2 -# -#=# -#dieharder version 3.31.1 Copyright 2003 Robert G. Brown # -#=# - rng_name|rands/second| Seed | -stdin_input_raw| 8.14e+06 |3240771676| -#=# -test_name |ntup| tsamples |psamples| p-value |Assessment -#=# - diehard_birthdays| 0| 100| 100|0.81680343| PASSED - diehard_operm5| 0| 100| 100|0.83093104| PASSED - diehard_rank_32x32| 0| 4| 100|0.69890950| PASSED -diehard_rank_6x8| 0|10| 100|0.73757194| PASSED - diehard_bitstream| 0| 2097152| 100|0.79560953| PASSED -diehard_opso| 0| 2097152| 100|0.91743161| PASSED -diehard_oqso| 0| 2097152| 100|0.30375937| PASSED - diehard_dna| 0| 2097152| 100|0.48183957| PASSED -diehard_count_1s_str| 0|256000| 100|0.58403744| PASSED -diehard_count_1s_byt| 0|256000| 100|0.13206026| PASSED - diehard_parking_lot| 0| 12000| 100|0.39368629| PASSED -diehard_2dsphere| 2| 8000| 100|0.9474| PASSED -diehard_3dsphere| 3| 4000| 100|0.43358713| PASSED - diehard_squeeze| 0|10| 100|0.41102170| PASSED -diehard_sums| 0| 100| 100|0.11298386| PASSED -diehard_runs| 0|10| 100|0.88159233| PASSED -diehard_runs| 0|10| 100|0.90214433| PASSED - diehard_craps| 0|20| 100|0.03843281| PASSED - diehard_craps| 0|20| 100|0.77456635| PASSED - marsaglia_tsang_gcd| 0| 1000| 100|0.39987405| PASSED - marsaglia_tsang_gcd| 0| 1000| 100|0.05747832| PASSED - sts_monobit| 1|10| 100|0.99464121| PASSED -sts_runs| 2|10| 100|0.94267702| PASSED - sts_serial| 1|10| 100|0.20950020| PASSED - sts_serial| 2|10| 100|0.50407611| PASSED - sts_serial| 3|10| 100|0.85057752| PASSED - sts_serial| 3|10| 100|0.65487831| PASSED - sts_serial| 4|10| 100|0.60209893| PASSED - sts_serial| 4|10| 100|0.32116768| PASSED - sts_serial| 5|10| 100|0.17223680| PASSED - sts_serial| 5|10| 100|0.37939987| PASSED - sts_serial| 6|10| 100|0.66671747| PASSED - sts_serial| 6|10| 100|0.04386058| PASSED - sts_serial| 7|10| 100|0.34604983| PASSED - sts_serial| 7|10| 100|0.47838019| PASSED - sts_serial| 8|10| 100|0.83460317| PASSED - sts_serial| 8|10| 100|0.62981425| PASSED - sts_serial| 9|10| 100|0.77962063| PASSED - sts_serial| 9|10| 100|0.99955982| WEAK - sts_serial| 10|10| 100|0.27605490| PASSED - sts_serial| 10|10| 100|0.15126031| PASSED - sts_serial| 11|10| 100|0.47920323| PASSED - sts_serial| 11|10| 100|0.84941018| PASSED - sts_serial| 12|10| 100|0.19624503| PASSED - sts_serial| 12|10| 100|0.41833940| PASSED - sts_serial| 13|10| 100|0.99389349| PASSED - sts_serial| 13|10| 100|0.77268057| PASSED - sts_serial| 14|10| 100|0.12123384| PASSED - sts_serial| 14|10| 100|0.08863515| PASSED - sts_serial| 15|10| 100|0.92644666| PASSED - sts_serial| 15|10| 100|0.27845301| PASSED - sts_serial| 16|10| 100|0.68209282| PASSED - sts_serial| 16|10| 100|0.37365079| PASSED - sts_serial| 1|10| 200|0.
[27/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_5 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_5 b/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_5 deleted file mode 100644 index bfcda63..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_5 +++ /dev/null @@ -1,3804 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source32.Well19937a -# -# 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 : 6.2e-3 - - -CPU time used: 00:02:12.09 - -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.28 - - -CPU time used: 00:01:44.62 - -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 : 1380 -p-value of test :0.34 - -- -Total number of cells containing j balls - - j = 0 : 131940795334500 - j = 1 :57240 - j = 2 : 1380 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:04:13.69 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N = 30, n = 2000,
[29/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_3 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_3 b/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_3 deleted file mode 100644 index 16fc7ab..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_3 +++ /dev/null @@ -1,3807 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source32.Well512a -# -# 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.81 - - -CPU time used: 00:01:48.26 - -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.70 - - -CPU time used: 00:01:43.38 - -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 : 1359 -p-value of test :0.55 - -- -Total number of cells containing j balls - - j = 0 : 131940795334479 - j = 1 :57282 - j = 2 : 1359 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:04:15.12 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N = 30, n = 2000, r
[14/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_5 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_5 b/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_5 deleted file mode 100644 index c20bdfb..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_5 +++ /dev/null @@ -1,3804 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source32.Well19937a -# -# 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.70 - - -CPU time used: 00:02:32.37 - -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.59 - - -CPU time used: 00:02:21.55 - -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 : 1353 -p-value of test :0.61 - -- -Total number of cells containing j balls - - j = 0 : 131940795334473 - j = 1 :57294 - j = 2 : 1353 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:05:17.01 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N = 30, n = 2000,
[40/40] [math] MATH-1383
MATH-1383 Documentation cleanup after move of PRNG functionality to Commons Rng. The following were deleted: * Stress test reports * Section in the userguide * Usage example ("RandomStressTester.java" and "stdin2testu01.c") Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/d14573fe Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/d14573fe Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/d14573fe Branch: refs/heads/develop__dependent_on_commons_rng Commit: d14573fe372a0937f7ee6ebbde13693e5c1ce4a8 Parents: 6804238 Author: Gilles Authored: Fri Aug 19 01:29:09 2016 +0200 Committer: Gilles Committed: Fri Aug 19 01:29:09 2016 +0200 -- src/site/apt/userguide/rng.apt | 228 - .../txt/userguide/rng/stress/dh/run_1/dh_1 | 146 - .../txt/userguide/rng/stress/dh/run_1/dh_10 | 139 - .../txt/userguide/rng/stress/dh/run_1/dh_11 | 148 - .../txt/userguide/rng/stress/dh/run_1/dh_12 | 172 - .../txt/userguide/rng/stress/dh/run_1/dh_13 | 168 - .../txt/userguide/rng/stress/dh/run_1/dh_2 | 139 - .../txt/userguide/rng/stress/dh/run_1/dh_3 | 173 - .../txt/userguide/rng/stress/dh/run_1/dh_4 | 140 - .../txt/userguide/rng/stress/dh/run_1/dh_5 | 140 - .../txt/userguide/rng/stress/dh/run_1/dh_6 | 146 - .../txt/userguide/rng/stress/dh/run_1/dh_7 | 204 - .../txt/userguide/rng/stress/dh/run_1/dh_8 | 201 - .../txt/userguide/rng/stress/dh/run_1/dh_9 | 143 - .../txt/userguide/rng/stress/dh/run_2/dh_1 | 146 - .../txt/userguide/rng/stress/dh/run_2/dh_10 | 172 - .../txt/userguide/rng/stress/dh/run_2/dh_11 | 259 -- .../txt/userguide/rng/stress/dh/run_2/dh_12 | 168 - .../txt/userguide/rng/stress/dh/run_2/dh_13 | 261 -- .../txt/userguide/rng/stress/dh/run_2/dh_2 | 140 - .../txt/userguide/rng/stress/dh/run_2/dh_3 | 139 - .../txt/userguide/rng/stress/dh/run_2/dh_4 | 171 - .../txt/userguide/rng/stress/dh/run_2/dh_5 | 143 - .../txt/userguide/rng/stress/dh/run_2/dh_6 | 260 -- .../txt/userguide/rng/stress/dh/run_2/dh_7 | 143 - .../txt/userguide/rng/stress/dh/run_2/dh_8 | 800 .../txt/userguide/rng/stress/dh/run_2/dh_9 | 175 - .../txt/userguide/rng/stress/tu/run_1/tu_1 | 3882 -- .../txt/userguide/rng/stress/tu/run_1/tu_10 | 3803 - .../txt/userguide/rng/stress/tu/run_1/tu_11 | 3795 - .../txt/userguide/rng/stress/tu/run_1/tu_12 | 3803 - .../txt/userguide/rng/stress/tu/run_1/tu_13 | 3802 - .../txt/userguide/rng/stress/tu/run_1/tu_2 | 3803 - .../txt/userguide/rng/stress/tu/run_1/tu_3 | 3807 - .../txt/userguide/rng/stress/tu/run_1/tu_4 | 3806 - .../txt/userguide/rng/stress/tu/run_1/tu_5 | 3804 - .../txt/userguide/rng/stress/tu/run_1/tu_6 | 3804 - .../txt/userguide/rng/stress/tu/run_1/tu_7 | 3803 - .../txt/userguide/rng/stress/tu/run_1/tu_8 | 3804 - .../txt/userguide/rng/stress/tu/run_1/tu_9 | 3802 - .../txt/userguide/rng/stress/tu/run_2/tu_1 | 3879 - .../txt/userguide/rng/stress/tu/run_2/tu_10 | 3803 - .../txt/userguide/rng/stress/tu/run_2/tu_11 | 3795 - .../txt/userguide/rng/stress/tu/run_2/tu_12 | 3795 - .../txt/userguide/rng/stress/tu/run_2/tu_13 | 3795 - .../txt/userguide/rng/stress/tu/run_2/tu_2 | 3803 - .../txt/userguide/rng/stress/tu/run_2/tu_3 | 3808 - .../txt/userguide/rng/stress/tu/run_2/tu_4 | 3805 - .../txt/userguide/rng/stress/tu/run_2/tu_5 | 3804 - .../txt/userguide/rng/stress/tu/run_2/tu_6 | 3803 - .../txt/userguide/rng/stress/tu/run_2/tu_7 | 3803 - .../txt/userguide/rng/stress/tu/run_2/tu_8 | 3803 - .../txt/userguide/rng/stress/tu/run_2/tu_9 | 3795 - src/site/xdoc/userguide/index.xml |7 - src/userguide/README|6 +- src/userguide/c/rng/stdin2testu01.c | 127 - .../math4/userguide/rng/GeneratorsList.java | 57 - .../math4/userguide/rng/RandomStressTester.java | 280 -- 58 files changed, 3 insertions(+), 104747 deletions(-) -- http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/apt/userguide/rng.apt -- diff --git a/src/site/apt/userguide/rng.apt b/src/site/apt/userguide/rng.apt deleted fi
[35/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_1 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_1 b/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_1 deleted file mode 100644 index 6284523..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_1 +++ /dev/null @@ -1,3882 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source32.JDKRandom -# -# 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.99e+9 -p-value of test : eps * - - -CPU time used: 00:01:59.81 - -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 : 4.2e-3 - - -CPU time used: 00:01:39.36 - -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 :0 -p-value of test : 1 - eps1* - -- -Total number of cells containing j balls - - j = 0 : 131940795333120 - j = 1 :6 - j = 2 :0 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:04:56.37 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N = 30
[20/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_11 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_11 b/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_11 deleted file mode 100644 index 737267e..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_2/tu_11 +++ /dev/null @@ -1,3795 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source64.SplitMix64 -# -# 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.72 - - -CPU time used: 00:02:30.11 - -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.66 - - -CPU time used: 00:02:33.92 - -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 : 1348 -p-value of test :0.66 - -- -Total number of cells containing j balls - - j = 0 : 131940795334468 - j = 1 :57304 - j = 2 : 1348 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:05:24.83 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N = 30, n = 20
[26/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_6 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_6 b/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_6 deleted file mode 100644 index f8e08a3..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_6 +++ /dev/null @@ -1,3804 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source32.Well19937c -# -# 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.16 - - -CPU time used: 00:02:17.49 - -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 : 1.9e-3 - - -CPU time used: 00:01:42.55 - -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 : 1351 -p-value of test :0.63 - -- -Total number of cells containing j balls - - j = 0 : 131940795334471 - j = 1 :57298 - j = 2 : 1351 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:04:22.88 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N = 30, n = 2000,
[33/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_11 -- diff --git a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_11 b/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_11 deleted file mode 100644 index e33d722..000 --- a/src/site/resources/txt/userguide/rng/stress/tu/run_1/tu_11 +++ /dev/null @@ -1,3795 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source64.SplitMix64 -# -# 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.42 - - -CPU time used: 00:02:33.87 - -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.65 - - -CPU time used: 00:01:54.12 - -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 : 1402 -p-value of test :0.16 - -- -Total number of cells containing j balls - - j = 0 : 131940795334522 - j = 1 :57196 - j = 2 : 1402 - j = 3 :0 - j = 4 :0 - j = 5 :0 - -CPU time used: 00:04:15.50 - -Generator state: -N/A - - - -*** -Test smarsa_CollisionOver calling smultin_MultinomialOver - -*** -HOST = gaianss, Linux - -stdin - - -smultin_MultinomialOver test: - N = 30, n = 200
[37/40] [math] MATH-1383
http://git-wip-us.apache.org/repos/asf/commons-math/blob/d14573fe/src/site/resources/txt/userguide/rng/stress/dh/run_2/dh_5 -- diff --git a/src/site/resources/txt/userguide/rng/stress/dh/run_2/dh_5 b/src/site/resources/txt/userguide/rng/stress/dh/run_2/dh_5 deleted file mode 100644 index 1d8f0fa..000 --- a/src/site/resources/txt/userguide/rng/stress/dh/run_2/dh_5 +++ /dev/null @@ -1,143 +0,0 @@ -# -# RNG: org.apache.commons.math4.rng.internal.source32.Well19937a -# -# 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: /usr/bin/dieharder -a -g 200 -Y 1 -k 2 -# -#=# -#dieharder version 3.31.1 Copyright 2003 Robert G. Brown # -#=# - rng_name|rands/second| Seed | -stdin_input_raw| 8.11e+06 |1324685015| -#=# -test_name |ntup| tsamples |psamples| p-value |Assessment -#=# - diehard_birthdays| 0| 100| 100|0.97873706| PASSED - diehard_operm5| 0| 100| 100|0.31625234| PASSED - diehard_rank_32x32| 0| 4| 100|0.81874010| PASSED -diehard_rank_6x8| 0|10| 100|0.38511330| PASSED - diehard_bitstream| 0| 2097152| 100|0.72448209| PASSED -diehard_opso| 0| 2097152| 100|0.21526395| PASSED -diehard_oqso| 0| 2097152| 100|0.14809241| PASSED - diehard_dna| 0| 2097152| 100|0.13975350| PASSED -diehard_count_1s_str| 0|256000| 100|0.27264345| PASSED -diehard_count_1s_byt| 0|256000| 100|0.23899278| PASSED - diehard_parking_lot| 0| 12000| 100|0.59288414| PASSED -diehard_2dsphere| 2| 8000| 100|0.44640415| PASSED -diehard_3dsphere| 3| 4000| 100|0.89918701| PASSED - diehard_squeeze| 0|10| 100|0.85012417| PASSED -diehard_sums| 0| 100| 100|0.07862421| PASSED -diehard_runs| 0|10| 100|0.22539800| PASSED -diehard_runs| 0|10| 100|0.25024342| PASSED - diehard_craps| 0|20| 100|0.66918238| PASSED - diehard_craps| 0|20| 100|0.74263938| PASSED - marsaglia_tsang_gcd| 0| 1000| 100|0.76388825| PASSED - marsaglia_tsang_gcd| 0| 1000| 100|0.12763949| PASSED - sts_monobit| 1|10| 100|0.90379684| PASSED -sts_runs| 2|10| 100|0.96725937| PASSED - sts_serial| 1|10| 100|0.89179612| PASSED - sts_serial| 2|10| 100|0.72323704| PASSED - sts_serial| 3|10| 100|0.52010951| PASSED - sts_serial| 3|10| 100|0.22447689| PASSED - sts_serial| 4|10| 100|0.31207188| PASSED - sts_serial| 4|10| 100|0.00723587| PASSED - sts_serial| 5|10| 100|0.97048978| PASSED - sts_serial| 5|10| 100|0.81338656| PASSED - sts_serial| 6|10| 100|0.13820363| PASSED - sts_serial| 6|10| 100|0.01043639| PASSED - sts_serial| 7|10| 100|0.03953577| PASSED - sts_serial| 7|10| 100|0.02379927| PASSED - sts_serial| 8|10| 100|0.47458458| PASSED - sts_serial| 8|10| 100|0.46015889| PASSED - sts_serial| 9|10| 100|0.81464024| PASSED - sts_serial| 9|10| 100|0.66406361| PASSED - sts_serial| 10|10| 100|0.53261452| PASSED - sts_serial| 10|10| 100|0.88051566| PASSED - sts_serial| 11|10| 100|0.56643984| PASSED - sts_serial| 11|10| 100|0.11383998| PASSED - sts_serial| 12|10| 100|0.29462130| PASSED - sts_serial| 12|10| 100|0.02722840| PASSED - sts_serial| 13|10| 100|0.55119783| PASSED - sts_serial| 13|10| 100|0.72716120| PASSED - sts_serial| 14|10| 100|0.53381465| PASSED - sts_serial| 14|10| 100|0.31932292| PASSED - sts_serial| 15|10| 100|0.68645828| PASSED - sts_serial| 15|10| 100|0.94979473| PASSED - sts_serial| 16|10| 100|0.13657316| PASSED - sts_serial| 16|10| 100|0.26675130| PASSED - rgb_bitdist| 1|10| 100|0.