Returns the natural logarithm of the factorial
of a positive integer.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static double LogFactorial(
int n
)
Public Shared Function LogFactorial (
n As Integer
) As Double
public:
static double LogFactorial(
int n
)
static member LogFactorial :
n : int -> float
Parameters
- n
- Type: SystemInt32
A positive integer.
Return Value
Type:
DoubleThe natural logarithm of the factorial
of the integer.
The factorial of a number nis the
product of all integers from one up to and including
n.
Reference