Welcome to our Support Center

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.Β 

Example

All these exemples 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 PERRINE library to run it).

Table of Contents
Index