.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-12-04T19:25:49Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos