.IDEAS.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-11-21T19:25:40Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos