midv_i(3PI) Sun Interval Performance Library midv_i(3PI)NAMEmidv_i - The approximate midpoint of an interval vector.
DESCRIPTION
V = (INF(X)+SUP(X))/2
The routine MIDV_I finds the real vector V such that
Vi = (INF(Xi)+SUP(Xi))/2 for all vector X entries.
The routine returns immediately if N is equal to zero.
SYNOPSIS
SUBROUTINE MIDV_I( X, V )
INTERVAL, INTENT(IN) :: X(:)
REAL, INTENT(OUT) :: V(:)
where
X and V have shape (N).
ARGUMENTS
X (input)
Array of DIMENSION N.
Unchanged on exit.
V (output)
Array of DIMENSION N.
On exit, contains MID(Xi) for all X entries.
ERRORS
blas_error_alloc
X or V is unallocated array
blas_error_shape
shape(X) /= shape(V)
6 Mar 2009 midv_i(3PI)