Function factorial

  • Find the factorial of a number.

    Parameters

    • n: number

      a number

    • k: number = 0

      denominator factorial [0]

    Returns number

    P(n, k); k=0: n!, k>0: n!/k!

Generated using TypeDoc