BuildSysPro.IBPSA.Utilities.Math.Functions.factorial

# .BuildSysPro.IBPSA.Utilities.Math.Functions.factorial

Returns the value n! as an integer

## 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

- February 9, 2018, by Massimo Cimmino:
  First implementation.

Generated at 2026-05-12T20:19:03Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos