modelBinomial
Test case for evaluation of binomial coefficients
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example demonstrates the use of the function for the evaluation of the binomial coefficient "n choose k".
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real[10] | bin | Binomial coefficient | |
| Integer | n | Size of set |
Revisions
-
June 6, 2018, by Massimo Cimmino:
First implementation.