commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject [3/3] commons-numbers git commit: Unused design.
Date Sun, 14 May 2017 20:56:49 GMT
Unused design.


Project: http://git-wip-us.apache.org/repos/asf/commons-numbers/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-numbers/commit/61d27bd9
Tree: http://git-wip-us.apache.org/repos/asf/commons-numbers/tree/61d27bd9
Diff: http://git-wip-us.apache.org/repos/asf/commons-numbers/diff/61d27bd9

Branch: refs/heads/master
Commit: 61d27bd9eef48c5642c74b6c10800424b68dfea2
Parents: 8555a73
Author: Gilles Sadowski <gilles@harfang.homelinux.org>
Authored: Sun May 14 22:53:11 2017 +0200
Committer: Gilles Sadowski <gilles@harfang.homelinux.org>
Committed: Sun May 14 22:53:11 2017 +0200

----------------------------------------------------------------------
 .../commons/numbers/gamma/RegularizedGamma.java | 26 +-------------------
 1 file changed, 1 insertion(+), 25 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/61d27bd9/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 0231955..21af77f 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
@@ -24,35 +24,11 @@ import org.apache.commons.numbers.fraction.ContinuedFraction;
  *
  * Class is immutable.
  */
-public abstract class RegularizedGamma {
+public class RegularizedGamma {
     /** Maximum allowed numerical error. */
     private static final double DEFAULT_EPSILON = 1e-15;
 
     /**
-     * @param a Parameter.
-     * @param x Argument.
-     * @param epsilon When the absolute value of the n-th element in the
-     * series is less than epsilon the approximation ceases to calculate
-     * further elements in the series.
-     * @param maxIterations Maximum number of iterations.
-     * @return the value of the function.
-     * @throws IllegalArgumentException if the algorithm fails to converge.
-     */
-    public abstract double value(double a,
-                                 double x,
-                                 double epsilon,
-                                 int maxIterations);
-
-    /**
-     * @param a Parameter.
-     * @param x Argument.
-     * @return the value of the function.
-     * @throws IllegalArgumentException if the algorithm fails to converge.
-     */
-    public abstract double value(double a,
-                                 double x);
-
-    /**
      * \( P(a, x) \) <a href="http://mathworld.wolfram.com/RegularizedGammaFunction.html">
      * regularized Gamma function</a>.
      *


Mime
View raw message