• Sums up the elements for a range between 0 (inclusive) and end (exclusive). It takes only constant time (O(1)).

    Parameters

    • end: number

      The end index (exclusive).

    Returns (<T>(range) => T)

    The group sum for the range.

      • <T>(range): T
      • Type Parameters

        • T

        Parameters

        • range: Readonly<{
              acc: readonly T[];
              group: Group<T>;
          }>

        Returns T

Generated using TypeDoc