Reverted changes accidentally committed in r1334315.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1336056 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
afce27e29d
commit
fb88e67bb1
|
@ -325,12 +325,4 @@ public class Gamma {
|
||||||
|
|
||||||
return trigamma(x + 1) + 1 / (x * x);
|
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];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue