Chalkboard - v3.0.1
    Preparing search index...

    Function mul

    • Returns the product of a sequence.

      Parameters

      • formula: (n: number) => number

        Sequence written in product notation

      • inf: number

        Lower bound

      • sup: number

        Upper bound

      Returns number

      // Returns 120
      const mul = Chalkboard.numb.mul((n) => n + 1, 0, 5);