Function summation

  • Perform a summation.

    Parameters

    • min: number

      The lower bound (inclusive) of the index of summation.

    • max: number

      The upper bound (inclusive) of the index of summation.

    • term: (i: number) => number

      The function used to generate each term.

    Returns number

    The sum.

MMNEPVFCICPMFPCPTTAAATR