Click or drag to resize

NMathFunctionsBinomial Method

Note: This API is now obsolete.

Returns the binomial coefficient ("n choose m"), the number of ways of picking m unordered outcomes from n possibilities.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
[ObsoleteAttribute("Instead use SpecialFunctions.Binomial().")]
public static double Binomial(
	int n,
	int m
)

Parameters

n  Int32
The total number of possibilities.
m  Int32
The number of desired outcomes.

Return Value

Double
The binomial coefficient.
Remarks
The binomial coefficient nCm ("n choose m") is defined by:
C#
nCm = n! / ( m! ( n - m )! )
See Also