cumSum

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

Returns cumulative sum of all elements in the given ndarray.


abstract fun <T : Number, D : Dimension> cumSum(a: MultiArray<T, D>, axis: Int): NDArray<T, D>

Returns cumulative sum of all elements in the given ndarray along the given axis.