.BuildingSystems.Utilities.Math.Functions.factorial

Information

Function that returns the factorial n! for 0 ≤ n ≤ 12.

Interface

function factorial
  extends Modelica.Icons.Function;
  input Integer n(min = 0, max = 12) "Integer number";
  output Integer f "Factorial of n";
end factorial;

Revisions


Generated at 2024-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos