commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From celes...@apache.org
Subject svn commit: r1336056 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/special/Gamma.java
Date Wed, 09 May 2012 10:27:04 GMT
Author: celestin
Date: Wed May  9 10:27:04 2012
New Revision: 1336056

URL: http://svn.apache.org/viewvc?rev=1336056&view=rev
Log:
Reverted changes accidentally committed in r1334315.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/special/Gamma.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/special/Gamma.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/special/Gamma.java?rev=1336056&r1=1336055&r2=1336056&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/special/Gamma.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/special/Gamma.java Wed
May  9 10:27:04 2012
@@ -325,12 +325,4 @@ public class Gamma {
 
         return trigamma(x + 1) + 1 / (x * x);
     }
-
-    public static double lanczos(final double x){
-        double sum = 0.0;
-        for (int i = LANCZOS.length - 1; i > 0; --i) {
-            sum = sum + (LANCZOS[i] / (x + i));
-        }
-        return sum + LANCZOS[0];
-    }
 }



Mime
View raw message