cxDimsSum - compute the sum of a dimensions vector
#include <cx/DataAccess.h>

long cxDimsSum(long nDim, long dims[])
integer function cxDimsSum(ndim, dims)
integer ndim, dims(ndim)
Number of dimensions.
Array of elements per dimension.
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. cxDimsProd(3E)
Last modified: Mon Nov 6 16:33:08 GMT 2000
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996