You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2017/05/21 18:08:50 UTC
[1/3] commons-numbers git commit: Add new module to POM.
Repository: commons-numbers
Updated Branches:
refs/heads/master 5b140a0e2 -> 7a08b2a43
Add new module to POM.
Project: http://git-wip-us.apache.org/repos/asf/commons-numbers/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-numbers/commit/6a185b1a
Tree: http://git-wip-us.apache.org/repos/asf/commons-numbers/tree/6a185b1a
Diff: http://git-wip-us.apache.org/repos/asf/commons-numbers/diff/6a185b1a
Branch: refs/heads/master
Commit: 6a185b1ac50cb486fc3cc92881fbedcc62d4a1e0
Parents: 5b140a0
Author: Gilles Sadowski <gi...@harfang.homelinux.org>
Authored: Sun May 21 20:06:30 2017 +0200
Committer: Gilles Sadowski <gi...@harfang.homelinux.org>
Committed: Sun May 21 20:06:30 2017 +0200
----------------------------------------------------------------------
pom.xml | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/6a185b1a/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 8aeafa1..248a42f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -599,6 +599,7 @@
<module>commons-numbers-fraction</module>
<module>commons-numbers-angle</module>
<module>commons-numbers-gamma</module>
+ <module>commons-numbers-combinatorics</module>
</modules>
</project>
[2/3] commons-numbers git commit: Javadoc fixes.
Posted by er...@apache.org.
Javadoc fixes.
Project: http://git-wip-us.apache.org/repos/asf/commons-numbers/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-numbers/commit/82aaeb23
Tree: http://git-wip-us.apache.org/repos/asf/commons-numbers/tree/82aaeb23
Diff: http://git-wip-us.apache.org/repos/asf/commons-numbers/diff/82aaeb23
Branch: refs/heads/master
Commit: 82aaeb23a5708119ad1d78dba5723c83f31f21b3
Parents: 6a185b1
Author: Gilles Sadowski <gi...@harfang.homelinux.org>
Authored: Sun May 21 20:07:45 2017 +0200
Committer: Gilles Sadowski <gi...@harfang.homelinux.org>
Committed: Sun May 21 20:07:45 2017 +0200
----------------------------------------------------------------------
.../src/main/java/org/apache/commons/numbers/gamma/Erf.java | 2 +-
.../src/main/java/org/apache/commons/numbers/gamma/Erfc.java | 2 +-
.../org/apache/commons/numbers/gamma/LanczosApproximation.java | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/82aaeb23/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/Erf.java
----------------------------------------------------------------------
diff --git a/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/Erf.java b/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/Erf.java
index 7892219..5bef7d8 100644
--- a/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/Erf.java
+++ b/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/Erf.java
@@ -23,7 +23,7 @@ public class Erf {
/**
* <p>
* This implementation computes erf(x) using the
- * {@link RegularizedGamma.P.value(double, double, double, int) regularized gamma function},
+ * {@link RegularizedGamma.P#value(double, double, double, int) regularized gamma function},
* following <a href="http://mathworld.wolfram.com/Erf.html"> Erf</a>, equation (3)
* </p>
*
http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/82aaeb23/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/Erfc.java
----------------------------------------------------------------------
diff --git a/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/Erfc.java b/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/Erfc.java
index 674f582..6eea0f9 100644
--- a/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/Erfc.java
+++ b/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/Erfc.java
@@ -36,7 +36,7 @@ public class Erfc {
*
* @param x Value.
* @return the complementary error function.
- * @throws ArithmeticExceptionException if the algorithm fails to converge.
+ * @throws ArithmeticException if the algorithm fails to converge.
*
* @see RegularizedGamma.Q#value(double, double, double, int)
*/
http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/82aaeb23/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/LanczosApproximation.java
----------------------------------------------------------------------
diff --git a/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/LanczosApproximation.java b/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/LanczosApproximation.java
index fec4ac3..e95c831 100644
--- a/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/LanczosApproximation.java
+++ b/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/LanczosApproximation.java
@@ -27,7 +27,7 @@ package org.apache.commons.numbers.gamma;
* \]
* where \( g \) is the Lanczos constant.
*
- * @see equations (1) through (5), and Paul Godfrey's
+ * See equations (1) through (5), and Paul Godfrey's
* <a href="http://my.fit.edu/~gabdo/gamma.txt">Note on the computation
* of the convergent Lanczos complex Gamma approximation</a>.
*/
[3/3] commons-numbers git commit: Formatting.
Posted by er...@apache.org.
Formatting.
Project: http://git-wip-us.apache.org/repos/asf/commons-numbers/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-numbers/commit/7a08b2a4
Tree: http://git-wip-us.apache.org/repos/asf/commons-numbers/tree/7a08b2a4
Diff: http://git-wip-us.apache.org/repos/asf/commons-numbers/diff/7a08b2a4
Branch: refs/heads/master
Commit: 7a08b2a43ad6ba6ee7ebb4c649088dd7c5dbb540
Parents: 82aaeb2
Author: Gilles Sadowski <gi...@harfang.homelinux.org>
Authored: Sun May 21 20:08:17 2017 +0200
Committer: Gilles Sadowski <gi...@harfang.homelinux.org>
Committed: Sun May 21 20:08:17 2017 +0200
----------------------------------------------------------------------
.../commons/numbers/gamma/RegularizedGamma.java | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/7a08b2a4/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/RegularizedGamma.java
----------------------------------------------------------------------
diff --git a/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/RegularizedGamma.java b/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/RegularizedGamma.java
index 21af77f..94b79d2 100644
--- a/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/RegularizedGamma.java
+++ b/commons-numbers-gamma/src/main/java/org/apache/commons/numbers/gamma/RegularizedGamma.java
@@ -41,7 +41,7 @@ public class RegularizedGamma {
* {@inheritDoc}
*/
public static double value(double a,
- double x) {
+ double x) {
return value(a, x, DEFAULT_EPSILON, Integer.MAX_VALUE);
}
@@ -67,9 +67,9 @@ public class RegularizedGamma {
* {@inheritDoc}
*/
public static double value(double a,
- double x,
- double epsilon,
- int maxIterations) {
+ double x,
+ double epsilon,
+ int maxIterations) {
if (Double.isNaN(a) ||
Double.isNaN(x) ||
a <= 0 ||
@@ -120,7 +120,7 @@ public class RegularizedGamma {
* {@inheritDoc}
*/
public static double value(double a,
- double x) {
+ double x) {
return value(a, x, DEFAULT_EPSILON, Integer.MAX_VALUE);
}
@@ -143,9 +143,9 @@ public class RegularizedGamma {
* {@inheritDoc}
*/
public static double value(final double a,
- double x,
- double epsilon,
- int maxIterations) {
+ double x,
+ double epsilon,
+ int maxIterations) {
if (Double.isNaN(a) ||
Double.isNaN(x) ||
a <= 0 ||