SCULIB_SUMAD

sum the elements of a double precision array

Description:

This routine adds up the NELM elements of the double precision ARRAY and puts the result in SUM.

Invocation

CALL SCULIB_SUMAD (NELM, ARRAY, SUM)

Arguments

NELM = INTEGER (Given)
the number of elements in the array
ARRAY (NELM) = DOUBLE PRECISION (Given)
the array whose elements are to be summed
SUM = DOUBLE PRECISION (Returned)
the sum

Copyright

Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council. All Rights Reserved.

Implementation Status:

No status checking