previous next |
Set |
Syntax |
Set(L:LIST):LIST |
Summary |
remove duplicates from a list |
Description |
This function returns a list obtained by removing duplicates from L. |
Example |
Set([2,2,2,1,2,1,1,3,3]); [2, 1, 3] ------------------------------- WARNING: to test two sets for equality use the function EqSet instead of a normal equality test (because the latter yields false if the elements are in a different order). NOTE: there is a command named 'Set' for setting panel options. It's search key in online help is 'Set, Unset'. The search key for the present function is 'Set'. |
See also: |