F_SAMIN_VAL/F_DAMIN_VAL/F_CAMIN_VAL/F_ZAMIN_VAL

Minimum absolute value and location

 

INTEGER*8

INCX, K, N

 

 

REAL*4

R

 

 

COMPLEX*8

X( * )

 

 

SUBROUTINE F_CAMIN_VAL (N, X, INCX, K)

 

INTEGER*8

INCX, K, N

 

 

REAL*8

R

 

 

COMPLEX*16

X( * )

 

 

SUBROUTINE F_ZAMIN_VAL (N, X, INCX, K)

Input

N

Number of elements of vector x.

 

X

REAL or COMPLEX array, minimum length

 

 

(N - 1) x incx + 1.

 

 

INCX

Increment for the array x. A vector x having component

 

 

xi, i = 1,..., n, is stored in an array X() with increment

 

 

argument incx. If incx > 0 then xi is stored in

 

 

X (1 + (i - 1) x incx). If incx < 0 then xi is stored in

 

 

X (1 + (N - i) x incx). incx = 0 is an illegal value.

156HP MLIB User’s Guide