cumulativeSum

@JvmName(name = "cumulativeSumOfDouble")
fun Iterable<Double>.cumulativeSum(): List<Double>

Returns the cumulative sum.

Receiver

list of individual Double values on which the cumulative sum operation is performed on

Return

list of accumulated values


@JvmName(name = "cumulativeSumOfFloat")
fun Iterable<Float>.cumulativeSum(): List<Float>

Returns the cumulative sum.

Receiver

list of individual Float values on which the cumulative sum operation is performed on

Return

list of accumulated values


@JvmName(name = "cumulativeSumOfInt")
fun Iterable<Int>.cumulativeSum(): List<Int>

Returns the cumulative sum.

Receiver

list of individual Int values on which the cumulative sum operation is performed on

Return

list of accumulated values