index#
- IndexSetND.index(elem, start=0, end=9223372036854775807, /)#
Get the position index of an element in the IndexSet.
- Parameters:
- elemelement
- startint, default
0(begining of the IndexSet) Start searching from this index.
- endint, default
sys.maxsize(effectively, end of the IndexSet) Search up to this index.
- Returns:
- int
- Raises:
- ValueError
If the element is not found.