Table Of Contents

Array Max and Min (G Dataflow)

Last Modified: January 23, 2017

Returns the maximum and minimum values found in an array, along with the indexes for each value.

connector_pane_image
datatype_icon

array

An n-dimensional array of any type.

If array is empty, max index(es) and min index(es) are -1.

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

max value

Maximum value found in 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.

datatype_icon

max index(es)

Index for the first max value.

If array is multidimensional, max index(es) is an array whose elements are the indexes for the first maximum value in array.

datatype_icon

min value

Minimum value found in 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.

datatype_icon

min index(es)

Index for the first min value.

If array is multidimensional, min index(es) is an array whose elements are the indexes for the first minimum value in array.

Where This Node Can Run:

Desktop OS: Windows

FPGA: All devices (only within an Optimized FPGA VI)


Recently Viewed Topics