Class 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()
        Return the Lanczos constant \( g = \frac{607}{128} \).
        Returns:
        the Lanczos constant.