Skip to main content
Version: current

Cumulative Sum

Description

The statistics block Cumulative Sum progressively sums a dataset on either axis 0 or 1.

MxNMxN

Input

The input is MxN.

Output

The output is a sum of data values on either axis 0 or 1. if summed across axis 0 the output is MxN, or if summed across axis 1 the output is MxN.

Attributes

AttributeValue
NameSum
Axis0
Add previous sumFalse
Channels1

Name

Name specifies the name of the block.

Axis

Axis specifies the axis of the dataset that should be summed.

Add previous sum

Add previous sum specifies if the block should add the previous summation to the next one.

Channels

Channels specifies the number of input(s)/output(s) the block will have.

Literature