difference#

IndexSet1D.difference(*others)[source]#

Return a new IndexSet1D with elements in the IndexSet1D that are not in the others.

The new IndexSet1D will have the same name attribute as the original.

Parameters:
*othersiterable
Returns:
IndexSet1D