Gets the double factorial of a number.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static BigInteger Factorial2(
int value
)
Public Shared Function Factorial2 (
value As Integer
) As BigInteger
public:
static BigInteger Factorial2(
int value
)
static member Factorial2 :
value : int -> BigInteger
Parameters
- value
- Type: SystemInt32
An integer.
Return Value
Type:
BigIntegerThe product of all numbers from
value down to 1, skipping every other number.
Reference