diff --git a/src/main/java/org/apache/commons/math3/special/Gamma.java b/src/main/java/org/apache/commons/math3/special/Gamma.java index 2db765638..dee373a40 100644 --- a/src/main/java/org/apache/commons/math3/special/Gamma.java +++ b/src/main/java/org/apache/commons/math3/special/Gamma.java @@ -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]; - } }