next up previous contents index
Next: FiniteLinearStructureType Up: DynamicDataStructureType Previous: insert   Contents   Index


remove,removeAll


Usage

remove(t, a)
remove!(t, a)
removeAll(t, a)
removeAll!(t, a)


Parameter Type Description
t T an element to remove
a % a dynamic data structure


Description

remove(t, a) and remove!(t, a) remove the first occurence of t in a and return the new structure, while removeAll(t, a) and removeAll!(t, a) remove all the occurences of t in a. remove and removeAll create a new structure, while remove! and removeAll! modify a itself.



Manuel Bronstein 2004-06-28