up
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. Its
search key in the online help is Set, Unset
. The search key for the
present function is Set
.
See Also