Polybench® Reference
This block will output the amount of fields available in the input vector

Amount Of Fields

Overview

This block will calculate the amount of fields present in the input vector and places this value at the output.

Operator ports

Input V_in: Specific sample type, see below.

Output N: 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 block will output the amount of fields present in the input vector.

Examples

Example: Amount of Fields Example
The Amount of Fields operator gives the actual length of the input vector as a result. This result is a streaming sample.
Examples\DF0507016_001_Amount_of_Fields_Exmp.xmc