| 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.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax [ObsoleteAttribute("Instead use SpecialFunctions.Binomial().")]
public static double Binomial(
int n,
int m
)
<ObsoleteAttribute("Instead use SpecialFunctions.Binomial().")>
Public Shared Function Binomial (
n As Integer,
m As Integer
) As Double
public:
[ObsoleteAttribute(L"Instead use SpecialFunctions.Binomial().")]
static double Binomial(
int n,
int m
)
[<ObsoleteAttribute("Instead use SpecialFunctions.Binomial().")>]
static member Binomial :
n : int *
m : int -> float
Parameters
- n Int32
- The total number of possibilities.
- m Int32
- The number of desired outcomes.
Return Value
DoubleThe binomial coefficient.
Remarks
The binomial coefficient
nCm ("n choose m") is defined by:
nCm = n! / ( m! ( n - m )! )
See Also