blockBinomial
Binomial function
Extends from Modelica.Blocks.Interfaces.IntegerSO (Single Integer Output continuous control block).
Information
This block computes the binomial coefficient "n choose k".
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| IntegerOutput | y (from IntegerSO) | Connector of Integer output signal | |
| Modelica.Blocks.Interfaces.IntegerInput | n | Size of set | |
| Modelica.Blocks.Interfaces.IntegerInput | k | Size of subsets |
Revisions
-
July 17, 2018, by Massimo Cimmino:
First implementation.