Click or drag to resize

NMathFunctionsFactorial Method

Note: This API is now obsolete.

Returns n!, the number of ways that n objects can be permuted.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
[ObsoleteAttribute("Instead use SpecialFunctions.Factorial().")]
public static double Factorial(
	int n
)

Parameters

n  Int32
The number of objects.

Return Value

Double
n!
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if n is not positive.
See Also