cumSum

fun <T : Number, D : Dimension> MultiArray<T, D>.cumSum(): D1Array<T>

Returns cumulative sum of all elements in the given ndarray.