.IBPSA.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-27T19:26:12Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos