modelFactorial
Test case for evaluation of factorials
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example demonstrates the use of the function for the evaluation of factorials.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | fac | Factorial of n | |
| Integer | n | n |
Revisions
-
June 6, 2018, by Massimo Cimmino:
First implementation.