Add Array Elements

Returns the sum of all of the elements in a numeric array.

1378

Inputs/Outputs

datatype_icon

numeric array

An array of any number of dimensions. This input changes to waveform when the data type is a waveform.

Data Type Changes on FPGA

When you add this node to a document targeted to an FPGA, this input has a default data type that uses fewer hardware resources at compile time.

datatype_icon

waveform

The waveform whose array of y values you want to use in this operation. This input becomes available when you wire a waveform to array.

datatype_icon

sum

The sum of all elements in the numeric array.

Data Type Changes on FPGA

When you add this node to a document targeted to an FPGA, this output has a default data type that uses fewer hardware resources at compile time.