Developer Reference

  • 2020.2
  • 07/15/2020
  • Public Content
Contents

i?max1

Finds the index of the vector element whose real part has maximum absolute value.

Syntax

index
=
icmax1
(
n
,
cx
,
incx
)
index
=
izmax1
(
n
,
cx
,
incx
)
Include Files
  • mkl.fi
Description
Given a complex vector
cx
, the
i?max1
functions return the index of the first vector element of maximum absolute value. These functions are based on the BLAS functions
icamax
/
izamax
, but using the absolute value of components. They are designed for use with
clacon
/
zlacon
.
Input Parameters
n
INTEGER
.
Specifies the number of elements in the vector
cx
.
cx
COMPLEX
for
icmax1
DOUBLE COMPLEX
for i
zmax1
Array, size at least
(1+(
n
-1)*abs
(
incx
))
.
Contains the input vector.
incx
INTEGER
.
Specifies the spacing between successive elements of
cx
.
Output Parameters
index
INTEGER
.
Index of the vector element of maximum absolute value.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804