- java.lang.Object
-
- org.ojalgo.function.special.GammaFunction.LanczosApproximation
-
- Enclosing class:
- GammaFunction
abstract static class GammaFunction.LanczosApproximation extends java.lang.ObjectLanczos approximation. The abritray constant is 7, and there are 9 coefficients used.http://en.wikipedia.org/wiki/Lanczos_approximation http://mathworld.wolfram.com/LanczosApproximation.html https://mrob.com/pub/ries/lanczos-gamma.html
-
-
Field Summary
Fields Modifier and Type Field Description private static doubleAArbitrary constantprivate static double[]CCoefficientsprivate static doubleLOG_SQRT_TWO_PI
-
Constructor Summary
Constructors Constructor Description LanczosApproximation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static doublegamma(double x)(package private) static ComplexNumbergamma(ComplexNumber z)(package private) static doublelogarithmic(double x)(package private) static ComplexNumberlogarithmic(ComplexNumber z)
-
-
-
Method Detail
-
gamma
static ComplexNumber gamma(ComplexNumber z)
-
gamma
static double gamma(double x)
-
logarithmic
static ComplexNumber logarithmic(ComplexNumber z)
-
logarithmic
static double logarithmic(double x)
-
-