ISSum

Computes the sum (union) of two index sets.

Synopsis

int ISSum(IS is1,IS is2, IS *isout)
Collective on IS

Input Parameter

is1 - first index set
is2 - index values to be added

Output Parameters

isout -is1 + is2 The index set is2 is appended to is1 removing duplicates

Notes

Negative values are removed from the lists. This requires O(imax-imin) memory and O(imax-imin) work, where imin and imax are the bounds on theindices in is1 and is2.

See Also

ISDestroy(), ISView(), ISDifference()

Keywords

Index set sum

Location: src/is/utils/isdiff.c
IS and DA Index
Table of Contents