Min & Max

Description

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

 

Input parameters

 

array : class, n-dimensional tensor.

Output parameters

 

max value : float, is of the same data type and structure as the elements in array.
max index(es) : array, 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. 
min value : float, is of the same data type and structure as the elements in array.
min index(es) : array, index for the first max value. If array is multidimensional, max index(es) is an array whose elements are the indexes for the first minimum value in array. 

Examples

All these examples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install Accelerator library to run it).

Table of Contents