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

TypeNameDefaultDescription
IntegerOutputy (from IntegerSO)Connector of Integer output signal
Modelica.Blocks.Interfaces.IntegerInputuConnector of integer input signal

Revisions

  • July 17, 2018, by Massimo Cimmino:
    First implementation.