Scroll to navigation

ICMAX1(1) LAPACK auxiliary routine (version 3.2) ICMAX1(1)

NAME

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

SYNOPSIS

ICMAX1( N, CX, INCX )

INTEGER INCX, N COMPLEX CX( * )

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.
Contributed by Nick Higham for use with CLACON.

ARGUMENTS

The number of elements in the vector CX.
The vector whose elements will be summed.
The spacing between successive values of CX. INCX >= 1.
November 2008 LAPACK auxiliary routine (version 3.2)