Difference between revisions of "Remove Command"
From GeoGebra Manual
Noel Lambert (talk | contribs) |
m (Text replace - "" to "") |
||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version=5.0}}</noinclude> | + | <noinclude>{{Manual Page|version=5.0}}</noinclude> |
{{command|list}} | {{command|list}} | ||
; Remove[ <List>, <List> ]:Removes objects from the first list each time they appear in the second list. | ; Remove[ <List>, <List> ]:Removes objects from the first list each time they appear in the second list. |
Revision as of 11:12, 29 July 2015
- Remove[ <List>, <List> ]
- Removes objects from the first list each time they appear in the second list.
- Example:
Remove[{1,3,4,4,9},{1,4,5}]
yields list{3,4,9}
.
Note:
See also RemoveUndefined Command and you can also type
{1,3,4,4,9} \ {1,4,5}
if you want the set-theoretic difference .