Class LanczosApproximation

    • Method Summary

      Modifier and Type Method Description
      static double g()  
      static double value​(double x)
      Computes the Lanczos approximation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LanczosApproximation

        public LanczosApproximation()
    • Method Detail

      • value

        public static double value​(double x)
        Computes the Lanczos approximation.
        Parameters:
        x - Argument.
        Returns:
        the Lanczos approximation.
      • g

        public static double g()
        Returns:
        the Lanczos constant \( g = \frac{607}{128} \).