Big Integer.Factorial 2 Method
Gets the double factorial of a number.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The product of all numbers from value down to 1, skipping every other number.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static BigInteger Factorial2(
int value
)
Parameters
- value Int32
- An integer.
Return Value
BigIntegerThe product of all numbers from value down to 1, skipping every other number.
Exceptions
Argument | value is less than zero. |