Add Array Elements
- 更新时间2023-02-17
- 阅读时长2分钟
Add Array Elements
Returns the sum of all of the elements in a numeric array.
Inputs/Outputs

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.

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.

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.