blockFactorial
Factorial function
Extends from Modelica.Blocks.Interfaces.IntegerSO (Single Integer Output continuous control block).
Information
This block computes the factorial of the integer input, y=n!.
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| IntegerOutput | y (from IntegerSO) | Connector of Integer output signal | |
| Modelica.Blocks.Interfaces.IntegerInput | u | Connector of integer input signal |
Revisions
-
July 17, 2018, by Massimo Cimmino:
First implementation.