listlib::setDifference
--
remove elements from a listlistlib::setDifference(
list1, list2)
removes all elements from list1
, that are given by
list2
.
listlib::setDifference(list1, list2)
list1, list2 |
- | a MuPAD list |
the first list without all elements of the second list
listlib::setDifference
removes all elements of the
list list1
given by the second list
list2
.The order of the list is not preserved.
listlib::setDifference
removes
2
, 4
, 6
and 8
from
the given list:
>> listlib::setDifference([1, 2, 3, 4, 5, 6, 7, 8], [2, 4, 6, 8])
[7, 5, 3, 1]
listtools::setDifference