cmpindices
cmpindices |
Purpose
Synopsis
int cmpindices(int nbdim, const int ind1[], const int ind2[]);
Arguments
nbdim
|
Number of dimensions (= size of tuples
ind1 and
ind2)
|
ind1, ind2
|
Index tuples of size
nbdim
|
Return value
-1
|
Tuple
ind1 comes before tuple
ind2
|
0
|
Tuples are identical
|
1
|
Tuple
ind2 comes before tuple
ind1
|
Further information
This function compares two index tuples.
Related topics