.Buildings.Utilities.Math.Functions.binomial

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


Generated at 2024-04-28T18:16:21Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos