Developer Reference

  • 2021.1
  • 12/04/2020
  • Public Content
Contents

i?max1

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

Syntax

MKL_INT
icmax1
(
const
MKL_INT
*
n
,
const
MKL_Complex8
*
cx
,
const
MKL_INT
*
incx
)
MKL_INT
izmax1
(
const
MKL_INT
*
n
,
const
MKL_Complex16
*
cx
,
const
MKL_INT
*
incx
)
Include Files
  • mkl.h
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
Specifies the number of elements in the vector
cx
.
cx
Array, size at least
(1+(
n
-1)*abs
(
incx
))
.
Contains the input vector.
incx
Specifies the spacing between successive elements of
cx
.
Return Values
Index of the vector element of maximum absolute value.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.