Computes the logrithm of the factorial of an integer.
Namespace:
Meta.Numerics.FunctionsAssembly: Meta.Numerics (in Meta.Numerics.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
| C# | Visual Basic | Visual C++ |
Parameters
- n
- Int32
The argument, which must be non-negative.
Return Value
The log factorial ln(n!).
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentOutOfRangeException | n is negative. |