intersection#

IndexSet1D.intersection(*others)[source]#

Return a new IndexSet1D with elements common to the IndexSet1D and all others.

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

Parameters:
*othersiterable
Returns:
IndexSet1D