1ICMAX1(1) LAPACK auxiliary routine (version 3.1) ICMAX1(1)
2
3
4
6 ICMAX1 - the index of the element whose real part has maximum absolute
7 value
8
10 INTEGER FUNCTION ICMAX1( N, CX, INCX )
11
12 INTEGER INCX, N
13
14 COMPLEX CX( * )
15
17 ICMAX1 finds the index of the element whose real part has maximum abso‐
18 lute value.
19
20 Based on ICAMAX from Level 1 BLAS.
21 The change is to use the 'genuine' absolute value.
22
23 Contributed by Nick Higham for use with CLACON.
24
25
27 N (input) INTEGER
28 The number of elements in the vector CX.
29
30 CX (input) COMPLEX array, dimension (N)
31 The vector whose elements will be summed.
32
33 INCX (input) INTEGER
34 The spacing between successive values of CX. INCX >= 1.
35
36
37
38 LAPACK auxiliary routine (versionNo3v.e1m)ber 2006 ICMAX1(1)