amax - Max Element Index VI

Owning Palette: Basic Linear Algebra Subroutines VIs

Requires: Full Development System

For real vectors, returns the index of the element that has the maximum absolute value. For complex vectors, the VI returns the index of the element that has the maximum sum of absolute real and imaginary parts.

Wire data to the x input to determine the polymorphic instance to use or manually select the instance.

Details  

Use the pull-down menu to select an instance of this VI.

 Add to the block diagram  Find on the palette

idamax - Max Element Index (DBL)

xInc determines whether the VI skips elements in x for the calculation. The default is 1, meaning the VI does not skip any elements in x. xInc is an optional input. xInc must be greater than zero.
Note  If you wire a value other than the default to xInc, the VI skips elements that have indexes that are multiples of the value you wire. If you wire a value that is greater than or equal to the number of elements in x, the VI uses only the first element in x for the calculation.
x is a real vector.
idamax returns the index of the element in x that has the maximum absolute value.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

izamax - Max Element Index (CDB)

xInc determines whether the VI skips elements in x for the calculation. The default is 1, meaning the VI does not skip any elements in x. xInc is an optional input. xInc must be greater than zero.
Note  If you wire a value other than the default to xInc, the VI skips elements that have indexes that are multiples of the value you wire. If you wire a value that is greater than or equal to the number of elements in x, the VI uses only the first element in x for the calculation.
x is a complex vector.
izamax returns the index of the element in x that has the maximum sum of absolute real and imaginary parts.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

amax - Max Element Index Details

Refer to the BLAS (Basic Linear Algebra Subprograms) website at netlib.org for more information on BLAS functions.