BigInteger.Factorial Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Computes the factorial of a big integer.
Namespace: Microsoft.SolverFoundation.Common
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Shared Function Factorial ( _
bn As BigInteger _
) As BigInteger
public static BigInteger Factorial(
BigInteger bn
)
public:
static BigInteger Factorial(
BigInteger bn
)
static member Factorial :
bn:BigInteger -> BigInteger
public static function Factorial(
bn : BigInteger
) : BigInteger
Parameters
- bn
Type: Microsoft.SolverFoundation.Common.BigInteger
A BigInteger value.
Return Value
Type: Microsoft.SolverFoundation.Common.BigInteger
A BigInteger value that is the product of all whole numbers smaller than the argument passed into the Factorial method.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.