GammaRelatedFac(Int32, Boolean) Method |
Fac(n) calculates the double precision factorial for the integer argument n.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax 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
DoubleThe 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