@lakuna/umath
    Preparing search index...

    Function permutations

    • Calculate the number of permutations.

      Parameters

      • n: number

        The total number of units.

      • r: number

        The number of units taken at a time.

      Returns number

      The number of permutations.