getnextarrentry
getnextarrentry |
Purpose
Synopsis
int getnextarrentry(XPRMarray array, int indices[]);
Arguments
array
|
Reference to an array
|
indices
|
n-tuple (
n is the dimension of array
array); the input values denote the tuple for which the next (logical) array entry is required; the returned values are the next array entry
|
Return value
0 if executed succesfully, a positive value otherwise (end of array).
Further information
This function returns the index tuple of the entry following the given tuple in the given array. The next entry in an array is determined by enumerating the last index of the tuple first. The parameter
indices serves for input and return values at the same time. It is modified by the function to return the tuple corresponding to the next array entry after the tuple that has been input.
Related topics