Returns the natural log factorial of n, ln( n! ).
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public static double FactorialLn( int n ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function FactorialLn ( _ n As Integer _ ) As Double |
| Visual C++ |
|---|
public: static double FactorialLn( int n ) |
Parameters
- n
- Type: System..::.Int32
The number of objects.
Return Value
ln( n! )
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if n is not positive. |