Go to the source code of this file.
integer function icamax |
( |
integer |
N, |
|
|
complex, dimension(*) |
CX, |
|
|
integer |
INCX |
|
) |
| |
ICAMAX
- Purpose:
ICAMAX finds the index of element having max. absolute value.
- Author
- Univ. of Tennessee
-
Univ. of California Berkeley
-
Univ. of Colorado Denver
-
NAG Ltd.
- Date
- November 2011
- Further Details:
jack dongarra, linpack, 3/11/78.
modified 3/93 to return if incx .le. 0.
modified 12/3/93, array(1) declarations changed to array(*)
Definition at line 53 of file icamax.f.
77 IF (n.LT.1 .OR. incx.LE.0)
RETURN
86 IF (
scabs1(cx(i)).GT.smax)
THEN
99 IF (
scabs1(cx(ix)).GT.smax)
THEN
integer function icamax(N, CX, INCX)
ICAMAX
real function scabs1(Z)
SCABS1