izmax1(3P)
NAME
izmax1 - find the index of the element whose real part has maximum absolute value
SYNOPSIS
INTEGER FUNCTION IZMAX1( N, CX, INCX )
INTEGER INCX, N
COMPLEX∗16 CX( ∗ )
#include <sunperf.h>
int izmax1(int n, doublecomplex ∗cx, int ∗incx) ;
PURPOSE
IZMAX1 finds the index of the element whose real part has maximum absolute value.
Based on IZAMAX from Level 1 BLAS.
The change is to use the ’genuine’ absolute value.
Contributed by Nick Higham for use with ZLACON.
ARGUMENTS
N (input) INTEGER
The number of elements in the vector CX.
CX (input) COMPLEX∗16 array, dimension (N)
The vector whose elements will be summed.
INCX (input) INTEGER
The spacing between successive values of CX. INCX >= 1.
SunOS 5.0 — Last change: 10 Dec 1998