Scroll to navigation

icmax1.f(3) LAPACK icmax1.f(3)

NAME

icmax1.f

SYNOPSIS

Functions/Subroutines


integer function icmax1 (N, CX, INCX)
ICMAX1 finds the index of the first vector element of maximum absolute value.

Function/Subroutine Documentation

integer function icmax1 (integer N, complex, dimension(*) CX, integer INCX)

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

Purpose:


ICMAX1 finds the index of the first vector element of maximum absolute value.
Based on ICAMAX from Level 1 BLAS.
The change is to use the 'genuine' absolute value.

Parameters:

N


N is INTEGER
The number of elements in the vector CX.

CX


CX is COMPLEX array, dimension (N)
The vector CX. The ICMAX1 function returns the index of its first
element of maximum absolute value.

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:

February 2014

Contributors:

Nick Higham for use with CLACON.

Definition at line 83 of file icmax1.f.

Author

Generated automatically by Doxygen for LAPACK from the source code.

Tue Nov 14 2017 Version 3.8.0