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

TypeNameDefaultDescription
IntegerfacFactorial of n
Integernn

Revisions

  • June 6, 2018, by Massimo Cimmino:
    First implementation.