EncogMath Factorial Method Encog Machine Learning Framework for .Net
Compute the factorial (n!) for p.

Namespace: Encog.MathUtil
Assembly: encog-core-cs (in encog-core-cs.dll) Version: 3.3.0.0 (3.3.0.0)
Syntax

public static double Factorial(
	int p
)

Parameters

p
Type: System Int32
The number to compute the factorial for.

Return Value

Type: Double
The factorial.
See Also