extend#

IndexSet1D.extend(elems, /)[source]#

Extend the IndexSet by appending elements from an iterable, in-place.

Parameters:
elemsiterable
Raises:
ValueError

If any element is invalid.

ValueError

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