Computes binomial coefficient n over k Returns -1 for invalid input, i.e. n or k < 0 or k > n
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n |
Top number of binomal coefficient |
||
| integer, | intent(in) | :: | k |
Bottom number of binomal coefficient |