Click or drag to resize

GammaRelatedFac(Int32, Boolean) Method

Fac(n) calculates the double precision factorial for the integer argument n.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double Fac(
	int n,
	bool bDebug
)

Parameters

n  Int32
The argument n.
bDebug  Boolean
If true, an exception is thrown if serious errors occur. If false, NaN is returned on errors.

Return Value

Double
The factorial of n.
Remarks
This is a translation from the Fortran version of SLATEC, FNLIB, CATEGORY C1, REVISION 900315, originally written by Fullerton W.,(LANL) to C++.
See Also