sum_i(3PI) Sun Interval Performance Library sum_i(3PI)NAMEsum_i - Sum the entries of an interval vector.
DESCRIPTION
R = SUM of Xi, where i=0,..., i=N-1
The routine SUM_I returns the sum of the entries of an interval vector
X. The routine returns immediately with the output interval R set to
zero if N is equal to zero.
SYNOPSIS
SUBROUTINE SUM_I( X, R )
INTERVAL, INTENT(IN) :: X(:)
INTERVAL, INTENT(OUT) :: R
where
X has shape (N).
ARGUMENTS
X (input)
Array of DIMENSION N.
Unchanged on exit.
R(output)
Scalar element.
On exit, the result of SUM_I:
R = sum of Xi, where i = 0, ..., i = N-1
ERRORS
blas_error_alloc
X is unallocated array
6 Mar 2009 sum_i(3PI)