Difference between revisions of "Remove Command"
From GeoGebra Manual
({{note| 1=<div>See also RemoveUndefined Command and you can also type <code>{1,3,4,4,9} \ {1,4,5}<code> if you want the set-theoretic difference .</div>}}) |
m |
||
Line 4: | Line 4: | ||
: {{Example| 1=<div><code>Remove[{1,3,4,4,9},{1,4,5}]</code> yields list <code>{3,4,9}</code>.</div>}} | : {{Example| 1=<div><code>Remove[{1,3,4,4,9},{1,4,5}]</code> yields list <code>{3,4,9}</code>.</div>}} | ||
− | {{note| 1=<div>See also [[RemoveUndefined Command]] and you can also type <code>{1,3,4,4,9} \ {1,4,5}<code> if you want the set-theoretic difference .</div>}} | + | {{note| 1=<div>See also [[RemoveUndefined Command]] and you can also type <code>{1,3,4,4,9} \ {1,4,5}</code> if you want the set-theoretic difference .</div>}} |
Revision as of 14:56, 9 July 2014
- 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 .