Function fcumsum

  • Returns a full precision cumulative sum of the given values. Although slower, d3.fcumsum can replace d3.cumsum when greater precision is needed. Uses d3.Adder.

    Parameters

    Returns Float64Array

  • Returns a full precision cumulative sum of the given values. Although slower, d3.fcumsum can replace d3.cumsum when greater precision is needed. Uses d3.Adder.

    Type Parameters

    • T

    Parameters

    • values: Iterable<T>
    • accessor: ((datum, index, array) => number)
        • (datum, index, array): number
        • Parameters

          • datum: T
          • index: number
          • array: Iterable<T>

          Returns number

    Returns Float64Array