append#

IndexSet1D.append(elem, /)[source]#

Append an element to the end of the IndexSet, in-place.

Parameters:
elemelement
Raises:
ValueError

If the element is invalid.

ValueError

If the element is already present in the IndexSet (introduces a duplicate).