| SpecialFunctionsBinomialCoefficient Method |
Computes the Binomial coefficient of the specified
pair of integers.
Namespace:
Novacta.Analytics
Assembly:
Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax public static double BinomialCoefficient(
int n,
int k
)
Public Shared Function BinomialCoefficient (
n As Integer,
k As Integer
) As Double
public:
static double BinomialCoefficient(
int n,
int k
)
static member BinomialCoefficient :
n : int *
k : int -> float
Parameters
- n
- Type: SystemInt32
The number of available items.
- k
- Type: SystemInt32
The number of items to be taken at a time.
Return Value
Type:
Double
The value taken on by the Binomial coefficient.
Exceptions Remarks
This is the number of combinations
of n items taken
k at a time.
See Also