ISDifference
Computes the difference between two index sets.
Synopsis
int ISDifference(IS is1,IS is2, IS *isout)
Collective on
IS
Input Parameter
is1 | - first index, to have items removed from it
|
is2 | - index values to be removed
|
Output Parameters
isout -is1 - is2
Notes
Negative values are removed from the lists. is2 may have
valuesthat are not in is1. This requires O(imax-imin) memory and O(imax-imin)
work, where imin and imax are the bounds on the indices in is1.
See Also
ISDestroy(), ISView(), ISSum()
Keywords
Index set, difference
Location: src/is/utils/isdiff.c
IS and DA Index
Table of Contents