Finds the index of the element with the smallest absolute value.
FORTRAN 77:
index = isamin(n, x, incx)
index = idamin(n, x, incx)
index = icamin(n, x, incx)
index = izamin(n, x, incx)
Fortran 95:
index = iamin(x)
The FORTRAN 77 interfaces are specified in the mkl_blas.fi include file, the Fortran 95 interfaces are specified in the blas.f90 include file, and the C interfaces are specified in the mkl_blas.h include file.
This function is declared in mkl_blas.fi for FORTRAN 77 interface, in blas.f90 for Fortran 95 interface, and in mkl_blas.h for C interface.
Given a vector x, the i?amin functions return the position of the vector element x(i) that has the smallest absolute value for real flavors, or the smallest sum |Re(x(i))|+|Im(x(i))| for complex flavors.
If n is not positive, 0 is returned.
If more than one vector element is found with the same smallest absolute value, the index of the first one encountered is returned.
INTEGER. On entry, n specifies the number of elements in vector x.
REAL for isamin
DOUBLE PRECISION for idamin
COMPLEX for icamin
DOUBLE COMPLEX for izamin
Array, DIMENSION at least (1+(n-1)*abs(incx)).
INTEGER. Specifies the increment for the elements of x.
INTEGER. Contains the position of vector element x that has the smallest absolute value.
Functions and routines in Fortran 95 interface have fewer arguments in the calling sequence than their FORTRAN 77 counterparts. For general conventions applied to skip redundant or reconstructible arguments, see Fortran 95 Interface Conventions.
Specific details for the function iamin interface are the following:
Holds the vector with the number of elements n.
Copyright © 1994 - 2011, Intel Corporation. All rights reserved.