.TRANSFORM.Math.factorial

Information

Returns the factorial of the input.


Example:

n = 3

y = 3! = 3*2*1 = 6

Interface

function factorial
  extends TRANSFORM.Icons.Function;
  input Integer n "Integer used to calculate factorial";
  output Real y "Factorial n";
end factorial;

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