Polybench® Reference
Adds the fields of the vector to form one signle digit!

Add All Fields

Overview

This block will add all the fields of the incoming vector to form one output scalar value.

Operator ports

Input V_in: Specific sample type, see below.

Output S_out: Floating point values

Properties

Find more information about changing properties here: "Properties Viewer"

Caption
type: Word or phrase
The name of the object in the project. This name must not contain '.', '$' nor '@' characters.

For more information about the rules and usage of the Caption property, please refer to "Caption property - background and usage".

Documentation
type: See description
Optional documentation of this object. If this object is an operator, the Documentation text is displayed below the operator symbol.

Details

This operator will sum all the fields of the input vector type data, and will output the sum of all the fields as a floating point type data.

Examples

Example: Add all Fields Example
The Add all Fields operator adds all the fields of the vector. The result is a streaming sample.
Examples\DF0507009_001_Add_all_fields_Exmp.xmc