functionbinomial
Returns the binomial coefficient
Extends from Modelica.Icons.Function (Icon for functions).
Information
Function that evaluates the binomial coefficient "n choose k".
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n | Size of set | |
| Integer | k | Size of subsets |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | binom | Binomial coefficient |
Revisions
-
February 9, 2018, by Massimo Cimmino:
First implementation.