Table Of Contents

Array Max and Min (Clock-Driven Logic)

Last Modified: September 10, 2016

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.

datatype_icon

max value

Maximum value found in array.

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.

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: none

FPGA: All devices


Recently Viewed Topics