ILNumerics - Technical Application Development
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
An array of same size as n and k with values of the binomial coefficients.
Binomial coefficients of elements in n and k.
For more details about this function, see Wikipedia - Binomial coefficient.
[ILNumerics Computing Engine]
Namespace: ILNumerics
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
Parameters
- n
- Type: ILNumericsInArrayInt32
Input array n. - k
- Type: ILNumericsInArrayInt32
Input array k.
Return Value
Type: RetArrayDoubleAn array of same size as n and k with values of the binomial coefficients.
Remarks
- If one of the input arrays is empty, an empty array will be returned.
- If for any component, one has ni < ki, the solution will be double.NaN.
- If any elements in n and k has the same value, the solution will be +1.0.
- If any elements in n or k has a negative value, the solution will be double.NaN.
- If any of the input arrays is null, an ArgumentNullException will be thrown.
- If n and k size are not equal, an ArgumentException will be thrown.
[ILNumerics Computing Engine]
See Also