ⓘ This web page is about the old AlgoSim 2 software. Perhaps you are looking for the new Algosim 3 application?
AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: removeDuplicatesFromSet

removeDuplicatesFromSet(S) removes all duplicates from the set S, so it becomes a "true set".

Example:

Given a set

  S = {❨1, 2❩, ❨1, 2❩, ❨5, 8❩, ❨2, 9❩},

removeDuplicatesFromSet(S) will return

  { ❨1, 2❩, ❨5, 8❩, ❨2, 9❩ }.