amax

Description

This function finds the (smallest) index of the element of the maximum magnitude. Type : polymorphic.

 

Input parameters

 

 x : class, tensor of a vector with n elements.
incx : integer, stride between consecutive elements of x.

Output parameters

 

result : integer, the resulting index, which is 0 if n,incx is <=0.

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