• Calculate the sum of the values

    Parameters

    • array: NumberArray

      Object that contains property x (an ordered increasing array) and y (an array).

    • options: XGetFromToIndexOptions = {}

      Options.

    Returns number

    XSum value on the specified range.