@lakuna/umath
    Preparing search index...

    Function combinations

    • Calculate the number of combinations.

      Parameters

      • n: number

        The total number of units.

      • r: number

        The number of units taken at a time.

      Returns number

      The number of combinations.