max1#
Functions
-
INT icmax1(const INT n, const c64 *restrict ZX, const INT incx)#
ICMAX1 finds the index of the first vector element of maximum absolute value.
Based on IZAMAX from Level 1 BLAS. The change is to use the ‘genuine’ absolute value.
Parameters
innThe number of elements in the vector ZX.
inZXComplex array, dimension (n). The vector ZX. The ICMAX1 function returns the index of its first element of maximum absolute value.
inincxThe spacing between successive values of ZX. incx >= 1.
INT icmax1(
const INT n,
const c64* restrict ZX,
const INT incx
);
Functions
-
INT izmax1(const INT n, const c128 *restrict ZX, const INT incx)#
IZMAX1 finds the index of the first vector element of maximum absolute value.
Based on IZAMAX from Level 1 BLAS. The change is to use the ‘genuine’ absolute value.
Parameters
innThe number of elements in the vector ZX.
inZXComplex array, dimension (n). The vector ZX. The IZMAX1 function returns the index of its first element of maximum absolute value.
inincxThe spacing between successive values of ZX. incx >= 1.
INT izmax1(
const INT n,
const c128* restrict ZX,
const INT incx
);