Function that evaluates the binomial coefficient "n choose k".
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;