BuildSysPro.IBPSA.Utilities.Math.Functions.binomial

# .BuildSysPro.IBPSA.Utilities.Math.Functions.binomial

Returns the binomial coefficient

## Information

Function that evaluates the binomial coefficient "n choose k".

#### Interface

>     function binomial
>       extends Modelica.Icons.Function;
>       input Integer n "Size of set";
>       input Integer k(min = 0) "Size of subsets";
>       output Integer binom "Binomial coefficient";
>     end binomial;

## Revisions

- February 9, 2018, by Massimo Cimmino:
  First implementation.

Generated at 2026-05-12T20:19:03Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos