Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
This class provides an efficient data structure for index sets. The cost of checking whether a given index is in the set is O(1) and very very fast (optimal) at the cost of extra storage.
Create index set of given size
Return true if set is empty
Return size of set
Check whether index is in set
Return position (if any) for given index
Return given index
Return given index (const version)
Insert index into set
Fill index set with indices 0, 1, 2, ..., size - 1
Clear set