cumsum(x: array): array
Cumulative sum of array elements.
Computes the cumulative sum of elements in an array or matrix along a specified dimension.
x: array
The input array or matrix of values
The cumulative sum of the input values
cumsum(x: array,dim: 0): array
Cumulative sum of array elements.
Computes the cumulative sum of elements in an array or matrix along a specified dimension.
x: array
The input array or matrix of values
The cumulative sum of the input values
cumsum(x: array,dim: 1): array
Cumulative sum of array elements.
Computes the cumulative sum of elements in an array or matrix along a specified dimension.
x: array
The input array or matrix of values
The cumulative sum of the input values
cumsum(x: matrix,dim: 0): matrix
Cumulative sum of array elements.
Computes the cumulative sum of elements in an array or matrix along a specified dimension.
x: matrix
The input array or matrix of values
The cumulative sum of the input values
cumsum(x: matrix,dim: 1): matrix
Cumulative sum of array elements.
Computes the cumulative sum of elements in an array or matrix along a specified dimension.
x: matrix
The input array or matrix of values
The cumulative sum of the input values