chkarrind


Purpose
Check whether an index tuple of an array is valid.
Synopsis
int chkarrind(XPRMarray array, const int indices[]);
Arguments
array 
Reference to an array
indices 
n-tuple of indices where n is the dimension of array array
Return value
0 if the index tuple lies within the ranges for which the array is defined, a positive value otherwise.
Further information
This function checks whether the given index tuple lies within the range bounds of an array.
Related topics
cmpindices.


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.