/// <summary> /// Returns the log factorial of a number (ln(n!)) /// </summary> /// public static double LogFactorial(double n) { return(Gamma.Log(n + 1.0)); }
/// <summary> /// Returns the extended factorial definition of a real number. /// </summary> /// public static double Factorial(double n) { return(Gamma.Function(n + 1.0)); }