LAPACK  3.4.1
LAPACK: Linear Algebra PACKage
icmax1.f File Reference

Go to the source code of this file.

Functions/Subroutines

INTEGER function ICMAX1 (N, CX, INCX)
 ICMAX1

Function/Subroutine Documentation

INTEGER function ICMAX1 ( INTEGER  N,
COMPLEX, dimension( * )  CX,
INTEGER  INCX 
)

ICMAX1

Download ICMAX1 + dependencies [TGZ] [ZIP] [TXT]
Purpose:

 ICMAX1 finds the index of the element whose real part has maximum
 absolute value.

 Based on ICAMAX from Level 1 BLAS.
 The change is to use the 'genuine' absolute value.
 
Parameters:
[in]N
          N is INTEGER
          The number of elements in the vector CX.
 
[in]CX
          CX is COMPLEX array, dimension (N)
          The vector whose elements will be summed.
 
[in]INCX
          INCX is INTEGER
          The spacing between successive values of CX.  INCX >= 1.
 
Author:
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date:
November 2011
Contributors:
Nick Higham for use with CLACON.

Definition at line 82 of file icmax1.f.

Here is the caller graph for this function:

 All Files Functions