Release candidate.
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index b7f9398..364f003 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -1,4 +1,74 @@
+ Apache Commons Numbers 1.1 RELEASE NOTES
+
+The Apache Commons Numbers team is pleased to announce the release of
+commons-numbers-parent-1.1
+
+The Apache Commons Numbers project provides number types and utilities.
+
+New features, updates and bug fixes. Adds a commons-numbers-bom module. Requires Java 8.
+
+Changes in this version include:
+
+New features:
+o NUMBERS-190: Add a Bill of Materials (BOM) to aid in dependency management when referencing
+ multiple Apache Commons Numbers artifacts. The BOM should be used to ensure all
+ imported artifacts are compatible.
+o NUMBERS-181: Updated support for the beta functions. "RegularizedBeta": Added the
+ complement and derivative of the regularized beta function.
+ Added "IncompleteBeta" and "Beta" classes.
+ Functionality is ported from the Boost C++ library.
+o NUMBERS-180: "GammaRatio": Compute the ratio of two gamma functions.
+o NUMBERS-177: "Erfcx": Compute a scaled complementary error function:
+ erfcx(z) = erfc(z) * exp(z*z).
+o NUMBERS-175: "GeneralizedContinuedFraction": A continued fraction class to compute using a
+ generator. Allows evaluation of continued fractions from a regular series where
+ coefficients can be computed iteratively from the previous coefficients.
+
+Fixed Bugs:
+o NUMBERS-185: "Precision": Allow Precision.compareTo using a maxUlps to be used for sorting.
+ This corrects handling of NaN comparisons.
+o NUMBERS-182: "LogBeta": Avoid overflow for tiny arguments.
+o "BrentSolver": Avoid overflow creating the initial value between the lower and upper.
+o NUMBERS-173: "ContinuedFraction": Set a minimum bound on the relative error epsilon. Prevents
+ an infinite loop when the epsilon is zero.
+o "FactorialDouble": Prevent caching values that are infinite. The cache will support
+ factorials up to 170.
+o NUMBERS-170: "RegularizedBeta": Detect edge cases for arguments that can be evaluated by
+ exploiting properties of the regularized beta function.
+o NUMBERS-168: "BrentSolver": Identify brackets with small objective values.
+o Fix wrong javadoc. Thanks to Arturo Bernal.
+
+Changes:
+o NUMBERS-184: "Precision": Reduce number of operations in Precision.equals using a maxUlps.
+o NUMBERS-183: Improve the binomial coefficient classes. Avoid recursive method calls.
+ Avoid overflow for BinomialCoefficientDouble for large results close to infinity.
+ Use precomputed factorials and the LogBeta function for efficiency.
+o NUMBERS-178: "Factorial/FactorialDouble": Tabulate all factorials with exact 64-bit double
+ representations of n! up to n=170. This change deprecates the FactorialDouble
+ class and removes obsolete caching functionality.
+o NUMBERS-176: "ContinuedFraction": Update to use a shared implementation with
+ GeneralizedContinuedFraction.
+o NUMBERS-174: "Gamma/LogGamma/RegularizedGamma": Update the gamma function implementations to
+ increase accuracy and support for extreme values.
+ Functionality is ported from the Boost C++ library.
+o NUMBERS-172: "Erf/Erfc": Use a rational function approximation accurate to 53-bits of precision.
+ This replaces the use of the regularized gamma functions P and Q and increases accuracy
+ at extreme limits of the function. Execution speed is improved.
+ Functionality is ported from the Boost C++ library.
+o NUMBERS-171: "InverseErfc": Support full range of [0, 2]. This lowers the supported
+ minimum value from 2^-53 to double min value. Execution speed is improved.
+ Functionality is ported from the Boost C++ library.
+
+
+For complete information on Apache Commons Numbers, including instructions on how to submit bug
+reports, patches, or suggestions for improvement, see the Apache Commons Numbers website:
+
+http://commons.apache.org/proper/commons-numbers/
+
+
+=============================================================================
+
Apache Commons Numbers 1.0 RELEASE NOTES
The Apache Commons Numbers team is pleased to announce the release of
diff --git a/commons-numbers-angle/pom.xml b/commons-numbers-angle/pom.xml
index caebc1e..814de1d 100644
--- a/commons-numbers-angle/pom.xml
+++ b/commons-numbers-angle/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<artifactId>commons-numbers-angle</artifactId>
diff --git a/commons-numbers-angle/src/site/site.xml b/commons-numbers-angle/src/site/site.xml
index e404cae..f00f802 100644
--- a/commons-numbers-angle/src/site/site.xml
+++ b/commons-numbers-angle/src/site/site.xml
@@ -28,6 +28,8 @@
<item name="Overview" href="index.html"/>
<item name="Latest API docs (development)"
href="apidocs/index.html"/>
+ <item name="Javadoc (1.1 release)"
+ href="http://commons.apache.org/numbers/commons-numbers-angle/javadocs/api-1.1/index.html"/>
<item name="Javadoc (1.0 release)"
href="http://commons.apache.org/numbers/commons-numbers-angle/javadocs/api-1.0/index.html"/>
<item name="Javadoc (1.0-beta1 release)"
diff --git a/commons-numbers-arrays/pom.xml b/commons-numbers-arrays/pom.xml
index 3a7ceb8..63a8baa 100644
--- a/commons-numbers-arrays/pom.xml
+++ b/commons-numbers-arrays/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<artifactId>commons-numbers-arrays</artifactId>
diff --git a/commons-numbers-arrays/src/site/site.xml b/commons-numbers-arrays/src/site/site.xml
index f4ea4ce..8297464 100644
--- a/commons-numbers-arrays/src/site/site.xml
+++ b/commons-numbers-arrays/src/site/site.xml
@@ -28,6 +28,8 @@
<item name="Overview" href="index.html"/>
<item name="Latest API docs (development)"
href="apidocs/index.html"/>
+ <item name="Javadoc (1.1 release)"
+ href="http://commons.apache.org/numbers/commons-numbers-arrays/javadocs/api-1.1/index.html"/>
<item name="Javadoc (1.0 release)"
href="http://commons.apache.org/numbers/commons-numbers-arrays/javadocs/api-1.0/index.html"/>
<item name="Javadoc (1.0-beta1 release)"
diff --git a/commons-numbers-bom/pom.xml b/commons-numbers-bom/pom.xml
index 60e64cd..a9a35c8 100644
--- a/commons-numbers-bom/pom.xml
+++ b/commons-numbers-bom/pom.xml
@@ -21,11 +21,11 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<artifactId>commons-numbers-bom</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<name>Apache Commons Numbers (Bill of Materials)</name>
<packaging>pom</packaging>
diff --git a/commons-numbers-combinatorics/pom.xml b/commons-numbers-combinatorics/pom.xml
index 4eb8bfa..cb8e736 100644
--- a/commons-numbers-combinatorics/pom.xml
+++ b/commons-numbers-combinatorics/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<artifactId>commons-numbers-combinatorics</artifactId>
diff --git a/commons-numbers-combinatorics/src/site/site.xml b/commons-numbers-combinatorics/src/site/site.xml
index 0d96826..1bd05da 100644
--- a/commons-numbers-combinatorics/src/site/site.xml
+++ b/commons-numbers-combinatorics/src/site/site.xml
@@ -28,6 +28,8 @@
<item name="Overview" href="index.html"/>
<item name="Latest API docs (development)"
href="apidocs/index.html"/>
+ <item name="Javadoc (1.1 release)"
+ href="http://commons.apache.org/numbers/commons-numbers-combinatorics/javadocs/api-1.1/index.html"/>
<item name="Javadoc (1.0 release)"
href="http://commons.apache.org/numbers/commons-numbers-combinatorics/javadocs/api-1.0/index.html"/>
<item name="Javadoc (1.0-beta1 release)"
diff --git a/commons-numbers-complex/pom.xml b/commons-numbers-complex/pom.xml
index dcc7c23..e98b47b 100644
--- a/commons-numbers-complex/pom.xml
+++ b/commons-numbers-complex/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<artifactId>commons-numbers-complex</artifactId>
diff --git a/commons-numbers-complex/src/site/site.xml b/commons-numbers-complex/src/site/site.xml
index 7cddab3..d02437f 100644
--- a/commons-numbers-complex/src/site/site.xml
+++ b/commons-numbers-complex/src/site/site.xml
@@ -28,6 +28,8 @@
<item name="Overview" href="index.html"/>
<item name="Latest API docs (development)"
href="apidocs/index.html"/>
+ <item name="Javadoc (1.1 release)"
+ href="http://commons.apache.org/numbers/commons-numbers-complex/javadocs/api-1.1/index.html"/>
<item name="Javadoc (1.0 release)"
href="http://commons.apache.org/numbers/commons-numbers-complex/javadocs/api-1.0/index.html"/>
<item name="Javadoc (1.0-beta1 release)"
diff --git a/commons-numbers-core/pom.xml b/commons-numbers-core/pom.xml
index 488f871..b6eef37 100644
--- a/commons-numbers-core/pom.xml
+++ b/commons-numbers-core/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<artifactId>commons-numbers-core</artifactId>
diff --git a/commons-numbers-core/src/site/site.xml b/commons-numbers-core/src/site/site.xml
index 9651333..409ad3e 100644
--- a/commons-numbers-core/src/site/site.xml
+++ b/commons-numbers-core/src/site/site.xml
@@ -28,6 +28,8 @@
<item name="Overview" href="index.html"/>
<item name="Latest API docs (development)"
href="apidocs/index.html"/>
+ <item name="Javadoc (1.1 release)"
+ href="http://commons.apache.org/numbers/commons-numbers-core/javadocs/api-1.1/index.html"/>
<item name="Javadoc (1.0 release)"
href="http://commons.apache.org/numbers/commons-numbers-core/javadocs/api-1.0/index.html"/>
<item name="Javadoc (1.0-beta1 release)"
diff --git a/commons-numbers-docs/pom.xml b/commons-numbers-docs/pom.xml
index edb1fd6..27f94ba 100644
--- a/commons-numbers-docs/pom.xml
+++ b/commons-numbers-docs/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<artifactId>commons-numbers-docs</artifactId>
@@ -57,57 +57,57 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-angle</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-arrays</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-combinatorics</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-complex</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-core</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-field</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-fraction</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-gamma</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-primes</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-quaternion</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-rootfinder</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</dependency>
</dependencies >
diff --git a/commons-numbers-examples/examples-jmh/pom.xml b/commons-numbers-examples/examples-jmh/pom.xml
index ff219a3..8c398b1 100644
--- a/commons-numbers-examples/examples-jmh/pom.xml
+++ b/commons-numbers-examples/examples-jmh/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-examples</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<artifactId>commons-numbers-examples-jmh</artifactId>
diff --git a/commons-numbers-examples/pom.xml b/commons-numbers-examples/pom.xml
index e20d305..5ae5780 100644
--- a/commons-numbers-examples/pom.xml
+++ b/commons-numbers-examples/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<artifactId>commons-numbers-examples</artifactId>
diff --git a/commons-numbers-field/pom.xml b/commons-numbers-field/pom.xml
index d3c20a0..9e60260 100644
--- a/commons-numbers-field/pom.xml
+++ b/commons-numbers-field/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<artifactId>commons-numbers-field</artifactId>
diff --git a/commons-numbers-field/src/site/site.xml b/commons-numbers-field/src/site/site.xml
index bfdbc9c..f1aab28 100644
--- a/commons-numbers-field/src/site/site.xml
+++ b/commons-numbers-field/src/site/site.xml
@@ -28,6 +28,8 @@
<item name="Overview" href="index.html"/>
<item name="Latest API docs (development)"
href="apidocs/index.html"/>
+ <item name="Javadoc (1.1 release)"
+ href="http://commons.apache.org/numbers/commons-numbers-field/javadocs/api-1.1/index.html"/>
<item name="Javadoc (1.0 release)"
href="http://commons.apache.org/numbers/commons-numbers-field/javadocs/api-1.0/index.html"/>
<item name="Javadoc (1.0-beta1 release)"
diff --git a/commons-numbers-fraction/pom.xml b/commons-numbers-fraction/pom.xml
index 732b2cb..5fde45a 100644
--- a/commons-numbers-fraction/pom.xml
+++ b/commons-numbers-fraction/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<artifactId>commons-numbers-fraction</artifactId>
diff --git a/commons-numbers-fraction/src/site/site.xml b/commons-numbers-fraction/src/site/site.xml
index c9866cb..e51f583 100644
--- a/commons-numbers-fraction/src/site/site.xml
+++ b/commons-numbers-fraction/src/site/site.xml
@@ -28,6 +28,8 @@
<item name="Overview" href="index.html"/>
<item name="Latest API docs (development)"
href="apidocs/index.html"/>
+ <item name="Javadoc (1.1 release)"
+ href="http://commons.apache.org/numbers/commons-numbers-fraction/javadocs/api-1.1/index.html"/>
<item name="Javadoc (1.0 release)"
href="http://commons.apache.org/numbers/commons-numbers-fraction/javadocs/api-1.0/index.html"/>
<item name="Javadoc (1.0-beta1 release)"
diff --git a/commons-numbers-gamma/pom.xml b/commons-numbers-gamma/pom.xml
index d02769d..d50006c 100644
--- a/commons-numbers-gamma/pom.xml
+++ b/commons-numbers-gamma/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<artifactId>commons-numbers-gamma</artifactId>
diff --git a/commons-numbers-gamma/src/site/site.xml b/commons-numbers-gamma/src/site/site.xml
index db5ac5c..d5f5fbe 100644
--- a/commons-numbers-gamma/src/site/site.xml
+++ b/commons-numbers-gamma/src/site/site.xml
@@ -28,6 +28,8 @@
<item name="Overview" href="index.html"/>
<item name="Latest API docs (development)"
href="apidocs/index.html"/>
+ <item name="Javadoc (1.1 release)"
+ href="http://commons.apache.org/numbers/commons-numbers-gamma/javadocs/api-1.1/index.html"/>
<item name="Javadoc (1.0 release)"
href="http://commons.apache.org/numbers/commons-numbers-gamma/javadocs/api-1.0/index.html"/>
<item name="Javadoc (1.0-beta1 release)"
diff --git a/commons-numbers-primes/pom.xml b/commons-numbers-primes/pom.xml
index d617bc2..26621dd 100644
--- a/commons-numbers-primes/pom.xml
+++ b/commons-numbers-primes/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<artifactId>commons-numbers-primes</artifactId>
diff --git a/commons-numbers-primes/src/site/site.xml b/commons-numbers-primes/src/site/site.xml
index 31866df..1f39d2e 100644
--- a/commons-numbers-primes/src/site/site.xml
+++ b/commons-numbers-primes/src/site/site.xml
@@ -28,6 +28,8 @@
<item name="Overview" href="index.html"/>
<item name="Latest API docs (development)"
href="apidocs/index.html"/>
+ <item name="Javadoc (1.1 release)"
+ href="http://commons.apache.org/numbers/commons-numbers-primes/javadocs/api-1.1/index.html"/>
<item name="Javadoc (1.0 release)"
href="http://commons.apache.org/numbers/commons-numbers-primes/javadocs/api-1.0/index.html"/>
<item name="Javadoc (1.0-beta1 release)"
diff --git a/commons-numbers-quaternion/pom.xml b/commons-numbers-quaternion/pom.xml
index c9167a6..91a90eb 100644
--- a/commons-numbers-quaternion/pom.xml
+++ b/commons-numbers-quaternion/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<artifactId>commons-numbers-quaternion</artifactId>
diff --git a/commons-numbers-quaternion/src/site/site.xml b/commons-numbers-quaternion/src/site/site.xml
index d842ec6..699cd87 100644
--- a/commons-numbers-quaternion/src/site/site.xml
+++ b/commons-numbers-quaternion/src/site/site.xml
@@ -28,6 +28,8 @@
<item name="Overview" href="index.html"/>
<item name="Latest API docs (development)"
href="apidocs/index.html"/>
+ <item name="Javadoc (1.1 release)"
+ href="http://commons.apache.org/numbers/commons-numbers-quaternion/javadocs/api-1.1/index.html"/>
<item name="Javadoc (1.0 release)"
href="http://commons.apache.org/numbers/commons-numbers-quaternion/javadocs/api-1.0/index.html"/>
<item name="Javadoc (1.0-beta1 release)"
diff --git a/commons-numbers-rootfinder/pom.xml b/commons-numbers-rootfinder/pom.xml
index c507f57..b05a506 100644
--- a/commons-numbers-rootfinder/pom.xml
+++ b/commons-numbers-rootfinder/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<artifactId>commons-numbers-rootfinder</artifactId>
diff --git a/commons-numbers-rootfinder/src/site/site.xml b/commons-numbers-rootfinder/src/site/site.xml
index ab8cacc..48ec5ad 100644
--- a/commons-numbers-rootfinder/src/site/site.xml
+++ b/commons-numbers-rootfinder/src/site/site.xml
@@ -28,6 +28,8 @@
<item name="Overview" href="index.html"/>
<item name="Latest API docs (development)"
href="apidocs/index.html"/>
+ <item name="Javadoc (1.1 release)"
+ href="http://commons.apache.org/numbers/commons-numbers-rootfinder/javadocs/api-1.1/index.html"/>
<item name="Javadoc (1.0 release)"
href="http://commons.apache.org/numbers/commons-numbers-rootfinder/javadocs/api-1.0/index.html"/>
<item name="Javadoc (1.0-beta1 release)"
diff --git a/dist-archive/pom.xml b/dist-archive/pom.xml
index 0906edc..a5517d1 100644
--- a/dist-archive/pom.xml
+++ b/dist-archive/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
</parent>
<artifactId>commons-numbers</artifactId>
@@ -41,8 +41,8 @@
<commons.siteOutputDirectory>${basedir}/../target/site</commons.siteOutputDirectory>
<commons.releaseNotesLocation>${basedir}/../RELEASE-NOTES.txt</commons.releaseNotesLocation>
<commons.distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/${commons.componentid}</commons.distSvnStagingUrl>
- <commons.releaseManagerName>Matt Juntunen</commons.releaseManagerName>
- <commons.releaseManagerKey>7DD53AEFEDF1C3D392B51EBE346F4FCECFB70B1A</commons.releaseManagerKey>
+ <commons.releaseManagerName>Alex Herbert</commons.releaseManagerName>
+ <commons.releaseManagerKey>BC87A3FD0A54480F0BADBEBD21939FF0CA2A6567</commons.releaseManagerKey>
</properties>
<build>
diff --git a/pom.xml b/pom.xml
index efa4b6b..0773775 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
</parent>
<artifactId>commons-numbers-parent</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.1</version>
<packaging>pom</packaging>
<name>Apache Commons Numbers</name>
<description>The Apache Commons Numbers project provides number types and utilities.</description>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index ce0dba1..e39eab0 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -52,13 +52,13 @@
<title>Apache Commons Numbers Release Notes</title>
</properties>
<body>
- <release version="1.1" date="TBD" description="
+ <release version="1.1" date="2022-11-04" description="
New features, updates and bug fixes. Adds a commons-numbers-bom module. Requires Java 8.
">
<action dev="aherbert" type="add" issue="NUMBERS-190">
- Add a Bill of Materials (BOM) to aid in dependency management when referencing multiple
- Apache Commons Numbers artifacts. The BOM should be used to ensure all imported artifacts are
- compatible.
+ Add a Bill of Materials (BOM) to aid in dependency management when referencing
+ multiple Apache Commons Numbers artifacts. The BOM should be used to ensure all
+ imported artifacts are compatible.
</action>
<action dev="aherbert" type="fix" issue="NUMBERS-185">
"Precision": Allow Precision.compareTo using a maxUlps to be used for sorting.
@@ -88,7 +88,8 @@
"BrentSolver": Avoid overflow creating the initial value between the lower and upper.
</action>
<action dev="aherbert" type="add" issue="NUMBERS-177">
- "Erfcx": Compute a scaled complementary error function: erfcx(z) = erfc(z) * exp(z*z).
+ "Erfcx": Compute a scaled complementary error function:
+ erfcx(z) = erfc(z) * exp(z*z).
</action>
<action dev="aherbert" type="update" issue="NUMBERS-178">
"Factorial/FactorialDouble": Tabulate all factorials with exact 64-bit double
@@ -96,7 +97,8 @@
class and removes obsolete caching functionality.
</action>
<action dev="aherbert" type="update" issue="NUMBERS-176">
- "ContinuedFraction": Update to use a shared implementation with GeneralizedContinuedFraction.
+ "ContinuedFraction": Update to use a shared implementation with
+ GeneralizedContinuedFraction.
</action>
<action dev="aherbert" type="update" issue="NUMBERS-174">
"Gamma/LogGamma/RegularizedGamma": Update the gamma function implementations to
@@ -104,9 +106,9 @@
Functionality is ported from the Boost C++ library.
</action>
<action dev="aherbert" type="add" issue="NUMBERS-175">
- "GeneralizedContinuedFraction": A continued fraction class to compute using a generator.
- Allows evaluation of continued fractions from a regular series where coefficients can
- be computed iteratively from the previous coefficients.
+ "GeneralizedContinuedFraction": A continued fraction class to compute using a
+ generator. Allows evaluation of continued fractions from a regular series where
+ coefficients can be computed iteratively from the previous coefficients.
</action>
<action dev="aherbert" type="fix" issue="NUMBERS-173">
"ContinuedFraction": Set a minimum bound on the relative error epsilon. Prevents
diff --git a/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt b/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt
new file mode 100644
index 0000000..364f003
--- /dev/null
+++ b/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt
@@ -0,0 +1,170 @@
+
+ Apache Commons Numbers 1.1 RELEASE NOTES
+
+The Apache Commons Numbers team is pleased to announce the release of
+commons-numbers-parent-1.1
+
+The Apache Commons Numbers project provides number types and utilities.
+
+New features, updates and bug fixes. Adds a commons-numbers-bom module. Requires Java 8.
+
+Changes in this version include:
+
+New features:
+o NUMBERS-190: Add a Bill of Materials (BOM) to aid in dependency management when referencing
+ multiple Apache Commons Numbers artifacts. The BOM should be used to ensure all
+ imported artifacts are compatible.
+o NUMBERS-181: Updated support for the beta functions. "RegularizedBeta": Added the
+ complement and derivative of the regularized beta function.
+ Added "IncompleteBeta" and "Beta" classes.
+ Functionality is ported from the Boost C++ library.
+o NUMBERS-180: "GammaRatio": Compute the ratio of two gamma functions.
+o NUMBERS-177: "Erfcx": Compute a scaled complementary error function:
+ erfcx(z) = erfc(z) * exp(z*z).
+o NUMBERS-175: "GeneralizedContinuedFraction": A continued fraction class to compute using a
+ generator. Allows evaluation of continued fractions from a regular series where
+ coefficients can be computed iteratively from the previous coefficients.
+
+Fixed Bugs:
+o NUMBERS-185: "Precision": Allow Precision.compareTo using a maxUlps to be used for sorting.
+ This corrects handling of NaN comparisons.
+o NUMBERS-182: "LogBeta": Avoid overflow for tiny arguments.
+o "BrentSolver": Avoid overflow creating the initial value between the lower and upper.
+o NUMBERS-173: "ContinuedFraction": Set a minimum bound on the relative error epsilon. Prevents
+ an infinite loop when the epsilon is zero.
+o "FactorialDouble": Prevent caching values that are infinite. The cache will support
+ factorials up to 170.
+o NUMBERS-170: "RegularizedBeta": Detect edge cases for arguments that can be evaluated by
+ exploiting properties of the regularized beta function.
+o NUMBERS-168: "BrentSolver": Identify brackets with small objective values.
+o Fix wrong javadoc. Thanks to Arturo Bernal.
+
+Changes:
+o NUMBERS-184: "Precision": Reduce number of operations in Precision.equals using a maxUlps.
+o NUMBERS-183: Improve the binomial coefficient classes. Avoid recursive method calls.
+ Avoid overflow for BinomialCoefficientDouble for large results close to infinity.
+ Use precomputed factorials and the LogBeta function for efficiency.
+o NUMBERS-178: "Factorial/FactorialDouble": Tabulate all factorials with exact 64-bit double
+ representations of n! up to n=170. This change deprecates the FactorialDouble
+ class and removes obsolete caching functionality.
+o NUMBERS-176: "ContinuedFraction": Update to use a shared implementation with
+ GeneralizedContinuedFraction.
+o NUMBERS-174: "Gamma/LogGamma/RegularizedGamma": Update the gamma function implementations to
+ increase accuracy and support for extreme values.
+ Functionality is ported from the Boost C++ library.
+o NUMBERS-172: "Erf/Erfc": Use a rational function approximation accurate to 53-bits of precision.
+ This replaces the use of the regularized gamma functions P and Q and increases accuracy
+ at extreme limits of the function. Execution speed is improved.
+ Functionality is ported from the Boost C++ library.
+o NUMBERS-171: "InverseErfc": Support full range of [0, 2]. This lowers the supported
+ minimum value from 2^-53 to double min value. Execution speed is improved.
+ Functionality is ported from the Boost C++ library.
+
+
+For complete information on Apache Commons Numbers, including instructions on how to submit bug
+reports, patches, or suggestions for improvement, see the Apache Commons Numbers website:
+
+http://commons.apache.org/proper/commons-numbers/
+
+
+=============================================================================
+
+ Apache Commons Numbers 1.0 RELEASE NOTES
+
+The Apache Commons Numbers team is pleased to announce the release of
+commons-numbers-parent-1.0
+
+The Apache Commons Numbers project provides number types and utilities.
+
+This is the first official release of Apache Commons Numbers.
+
+Apache Commons Numbers 1.0 contains the following library modules:
+ commons-numbers-angle (requires Java 8+)
+ commons-numbers-arrays (requires Java 8+)
+ commons-numbers-combinatorics (requires Java 8+)
+ commons-numbers-complex (requires Java 8+)
+ commons-numbers-core (requires Java 8+)
+ commons-numbers-field (requires Java 8+)
+ commons-numbers-fraction (requires Java 8+)
+ commons-numbers-gamma (requires Java 8+)
+ commons-numbers-primes (requires Java 8+)
+ commons-numbers-quaternion (requires Java 8+)
+ commons-numbers-rootfinder (requires Java 8+)
+N.B. the Performance testing module requires Java 9+. (The unit tests require Java 8+)
+
+Changes in this version include:
+
+
+Fixed Bugs:
+o NUMBERS-153: Use iterative implementation of "trigamma" function. Thanks to Dmitriy Golovashkin
+ for reporting. Thanks to Gilles Sadowski.
+o NUMBERS-150: "Fraction/BigFraction": Fixed pow(int) to handle Integer.MIN_VALUE and throw
+ ArithmeticException for negative exponents to a fraction of zero. Thanks to Jin Xu.
+o NUMBERS-147: Fixed Fraction/BigFraction from(double, int) to support Integer.MIN_VALUE as max
+ denominator. Thanks to Alex Herbert.
+
+Changes:
+o NUMBERS-163: Combined "LinearCombination" and "Summation" into single "Sum" class. Thanks to
+ Matt Juntunen.
+o NUMBERS-164: Added SortInPlace utility, original from Commons Math. Thanks to Gilles Sadowski.
+o NUMBERS-159: Moved "Norms", "LinearCombination", and "Summation" from commons-numbers-arrays
+ module to commons-numbers-core module. Moved "CosAngle" from commons-numbers-arrays module
+ to commons-numbers-angle module. Thanks to Matt Juntunen.
+o NUMBERS-156: Replaced "SafeNorm" with "Norms". Added "Summation" class for extended precision
+ summation. Thanks to Matt Juntunen.
+o NUMBERS-161: "Angle" replaces "PlaneAngle" and "PlaneAngleRadians". Thanks to Gilles Sadowski.
+o NUMBERS-158: Replace angle normalize method with normalizer method that returns operator
+ instance. Thanks to Gilles Sadowski.
+o NUMBERS-157: Adding Reduce operation originally from Commons Math to commons-numbers-angle
+ module. Thanks to Gilles Sadowski.
+o NUMBERS-142: "LinearCombination": Update to use the dot2s algorithm. Avoids construction of an
+ intermediate array for array dot products. Update the hi-lo splitting algorithm
+ to use Dekker's split to ensure the product round-off is computed to exact precision.
+ Thanks to Alex Herbert.
+o NUMBERS-154: Precision compareTo method now handles NaN properly to ensure consistent sorting.
+ Thanks to Gilles Sadowski.
+o NUMBERS-149: "Fraction": Port tests from commons-lang Fraction to demonstrate functional
+ compatibility between the lang and numbers implementation of Fraction. Thanks to Jin Xu.
+o NUMBERS-151: "ArithmeticUtils": Refine pow(int, int) and pow(long, int) for edge cases.
+ Thanks to Jin Xu.
+
+
+For complete information on Apache Commons Numbers, including instructions on how to submit bug
+reports, patches, or suggestions for improvement, see the Apache Commons Numbers website:
+
+http://commons.apache.org/proper/commons-numbers/
+
+
+=============================================================================
+
+ Apache Commons Numbers 1.0-beta1 RELEASE NOTES
+
+The Apache Commons Numbers team is pleased to announce the release of
+commons-numbers-parent-1.0-beta1
+
+The Apache Commons Numbers project provides number types and utilities.
+
+This is a beta release of Apache Commons Numbers. No guarantees are made regarding the stability
+of the API or compatibility with future releases.
+
+Apache Commons Numbers 1.0-beta1 contains the following library modules:
+ commons-numbers-angle (requires Java 8+)
+ commons-numbers-arrays (requires Java 8+)
+ commons-numbers-combinatorics (requires Java 8+)
+ commons-numbers-complex (requires Java 8+)
+ commons-numbers-core (requires Java 8+)
+ commons-numbers-field (requires Java 8+)
+ commons-numbers-fraction (requires Java 8+)
+ commons-numbers-gamma (requires Java 8+)
+ commons-numbers-primes (requires Java 8+)
+ commons-numbers-quaternion (requires Java 8+)
+ commons-numbers-rootfinder (requires Java 8+)
+
+No changes defined in this version.
+
+For complete information on Apache Commons Numbers, including instructions on how to submit bug
+reports, patches, or suggestions for improvement, see the Apache Commons Numbers website:
+
+http://commons.apache.org/proper/commons-numbers/
+
+
diff --git a/src/site/xdoc/download_numbers.xml b/src/site/xdoc/download_numbers.xml
index 8ef0aca..5fd700b 100644
--- a/src/site/xdoc/download_numbers.xml
+++ b/src/site/xdoc/download_numbers.xml
@@ -113,32 +113,32 @@
</p>
</subsection>
</section>
- <section name="Apache Commons Numbers 1.0 (requires Java 8+)">
+ <section name="Apache Commons Numbers 1.1 (requires Java 8+)">
<subsection name="Binaries">
<table>
<tr>
- <td><a href="[preferred]/commons/numbers/binaries/commons-numbers-1.0-bin.tar.gz">commons-numbers-1.0-bin.tar.gz</a></td>
- <td><a href="https://www.apache.org/dist/commons/numbers/binaries/commons-numbers-1.0-bin.tar.gz.sha512">sha512</a></td>
- <td><a href="https://www.apache.org/dist/commons/numbers/binaries/commons-numbers-1.0-bin.tar.gz.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/numbers/binaries/commons-numbers-1.1-bin.tar.gz">commons-numbers-1.1-bin.tar.gz</a></td>
+ <td><a href="https://www.apache.org/dist/commons/numbers/binaries/commons-numbers-1.1-bin.tar.gz.sha512">sha512</a></td>
+ <td><a href="https://www.apache.org/dist/commons/numbers/binaries/commons-numbers-1.1-bin.tar.gz.asc">pgp</a></td>
</tr>
<tr>
- <td><a href="[preferred]/commons/numbers/binaries/commons-numbers-1.0-bin.zip">commons-numbers-1.0-bin.zip</a></td>
- <td><a href="https://www.apache.org/dist/commons/numbers/binaries/commons-numbers-1.0-bin.zip.sha512">sha512</a></td>
- <td><a href="https://www.apache.org/dist/commons/numbers/binaries/commons-numbers-1.0-bin.zip.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/numbers/binaries/commons-numbers-1.1-bin.zip">commons-numbers-1.1-bin.zip</a></td>
+ <td><a href="https://www.apache.org/dist/commons/numbers/binaries/commons-numbers-1.1-bin.zip.sha512">sha512</a></td>
+ <td><a href="https://www.apache.org/dist/commons/numbers/binaries/commons-numbers-1.1-bin.zip.asc">pgp</a></td>
</tr>
</table>
</subsection>
<subsection name="Source">
<table>
<tr>
- <td><a href="[preferred]/commons/numbers/source/commons-numbers-1.0-src.tar.gz">commons-numbers-1.0-src.tar.gz</a></td>
- <td><a href="https://www.apache.org/dist/commons/numbers/source/commons-numbers-1.0-src.tar.gz.sha512">sha512</a></td>
- <td><a href="https://www.apache.org/dist/commons/numbers/source/commons-numbers-1.0-src.tar.gz.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/numbers/source/commons-numbers-1.1-src.tar.gz">commons-numbers-1.1-src.tar.gz</a></td>
+ <td><a href="https://www.apache.org/dist/commons/numbers/source/commons-numbers-1.1-src.tar.gz.sha512">sha512</a></td>
+ <td><a href="https://www.apache.org/dist/commons/numbers/source/commons-numbers-1.1-src.tar.gz.asc">pgp</a></td>
</tr>
<tr>
- <td><a href="[preferred]/commons/numbers/source/commons-numbers-1.0-src.zip">commons-numbers-1.0-src.zip</a></td>
- <td><a href="https://www.apache.org/dist/commons/numbers/source/commons-numbers-1.0-src.zip.sha512">sha512</a></td>
- <td><a href="https://www.apache.org/dist/commons/numbers/source/commons-numbers-1.0-src.zip.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/numbers/source/commons-numbers-1.1-src.zip">commons-numbers-1.1-src.zip</a></td>
+ <td><a href="https://www.apache.org/dist/commons/numbers/source/commons-numbers-1.1-src.zip.sha512">sha512</a></td>
+ <td><a href="https://www.apache.org/dist/commons/numbers/source/commons-numbers-1.1-src.zip.asc">pgp</a></td>
</tr>
</table>
</subsection>
diff --git a/src/site/xdoc/release-history.xml b/src/site/xdoc/release-history.xml
index 24f7b47..b7309ed 100644
--- a/src/site/xdoc/release-history.xml
+++ b/src/site/xdoc/release-history.xml
@@ -25,6 +25,9 @@
<table>
<tr><th>Version</th><th>Release date (YYYY-MM-DD)</th><th>Required Java Version</th><th>Release notes</th></tr>
<tr>
+ <td>1.0</td><td>2022-11-04</td><td>8+</td><td><a href="release-notes/RELEASE-NOTES-1.1.txt">release notes for 1.1</a></td>
+ </tr>
+ <tr>
<td>1.0</td><td>2021-07-17</td><td>8+</td><td><a href="release-notes/RELEASE-NOTES-1.0.txt">release notes for 1.0</a></td>
</tr>
<tr>