Click or drag to resize

SpecialFunctionsBinomialLn Method

Natural log of the binomial coefficient (n choose k); the number of ways of picking k unordered outcomes from n possibilities.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static double BinomialLn(
	int n,
	int k
)

Parameters

n  Int32
The total number of possibilities.
k  Int32
The number of desired outcomes, less than or equal to n.

Return Value

Double
The natural log of the binomial coefficient.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThe parameters k and n must be non-negative and k <= n.
See Also