BigInteger.Factorial2 Method

Gets the double factorial of a number.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public static BigInteger Factorial2(
	int value
)

Parameters

value  Int32
An integer.

Return Value

BigInteger
The product of all numbers from value down to 1, skipping every other number.

Exceptions

ArgumentOutOfRangeException

value is less than zero.

See Also