functionfallingFactorial

Returns the k-th falling factorial of n

Extends from Modelica.Icons.Function (Icon for functions).

Information

Function that evaluates the falling factorial "k-permutations of n".

Inputs

TypeNameDefaultDescription
IntegernInteger number
IntegerkFalling factorial power

Outputs

TypeNameDefaultDescription
Integerfk-th falling factorial of n

Revisions

  • May 22, 2019, by Michael Wetter:
    Changed upper limit for maxInt.
    This is for issue 1145.
  • February 9, 2018, by Massimo Cimmino:
    First implementation.