NAME

cxDimsSum - compute the sum of a dimensions vector

C SPECIFICATION

#include <cx/DataAccess.h>

long cxDimsSum(long nDim, long dims[])

FORTRAN SPECIFICATION

integer function cxDimsSum(ndim, dims)
integer ndim, dims(ndim)

PARAMETERS

nDim
Number of dimensions.
dims
Array of elements per dimension.

DESCRIPTION

This routine computes the sum of dims array. This routine exists primarily to compute the number of data points in the coordinates array for perimeter style coordinates.

SEE ALSO

cxDimsProd(3E)
Last modified: Mon Nov 18 13:48:23 GMT 1996
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996