AixLib.Utilities.Math.Functions.fallingFactorial

# .AixLib.Utilities.Math.Functions.fallingFactorial

Returns the k-th falling factorial of n

## Information

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

#### Interface

>     function fallingFactorial
>       extends Modelica.Icons.Function;
>       input Integer n "Integer number";
>       input Integer k "Falling factorial power";
>       output Integer f "k-th falling factorial of n";
>     end fallingFactorial;

## 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.

Generated at 2026-05-09T18:18:56Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos