Synopsis

long ugn_Stride_l(long size, size_t noffs, long *offs, size_t ndims, long *dims)

Purpose

This computes the stride of a given multidimensional array.

Input

size

Size of the base type.

noffs

Number of offsets.

offs

The offsets.

ndims

Number of dimensions.

dims

The dimensions.

Return

The stride of the given offsets.