functionfactorial
Returns the value n! as an integer
Extends from Modelica.Icons.Function (Icon for functions).
Information
Function that returns the factorial n! for 0 ≤ n ≤ 12.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n | Integer number |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | f | Factorial of n |
Revisions
-
February 9, 2018, by Massimo Cimmino:
First implementation.