arySame

Enquire if two arrays are part of the same base array

Description:

This function determines whether two array identifiers refer to parts of the same base array. If so, it also determines whether they intersect.

Invocation

void arySame( Ary ∗ary1, Ary ∗ary2, int ∗same, int ∗isect, int ∗status )

Notes:

Parameters :

ary1
Identifier for the first array (or array section).
ary2
Identifier for the second array (or array section).
same
Returned holding a boolean flag indicating whether the identifiers refer to parts of the same base array.
isect
Returned holding a boolean flag indicating whether the arrays intersect.
status
The global status.