Loading...
Searching...
No Matches

## izmax1()

integer function izmax1 | ( | integer | n,
|  | complex*16, dimension(*) | zx,
|  | integer | incx )

IZMAX1 finds the index of the first vector element of maximum absolute value.

Download IZMAX1 + dependencies [TGZ] [ZIP] [TXT]

Purpose:

      !>
      !> 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

  [in]

  N

      !>          N is INTEGER
      !>          The number of elements in the vector ZX.
      !>

  [in]

  ZX

      !>          ZX is COMPLEX*16 array, dimension (N)
      !>          The vector ZX. The IZMAX1 function returns the index of its first
      !>          element of maximum absolute value.
      !>

  [in]

  INCX

      !>          INCX is INTEGER
      !>          The spacing between successive values of ZX.  INCX >= 1.
      !>

Author
  Univ. of Tennessee
  Univ. of California Berkeley
  Univ. of Colorado Denver
  NAG Ltd.

Contributors:
  Nick Higham for use with ZLACON.