Erase

Working with polygons? See erase (geometry)


Erases an element of a list or vector.

erase(List | Vector, Integer | List | Vector | Range)

Given a list or vector L, and integers or sets of integers i subscript 1 comma... comma i subscript n, erase the elements in L at positions i subscript 1 comma... comma i subscript n.

erase(Matrix, Integer | List | Vector | Range, Integer | List | Vector | Range)

Given a matrix M, and two sets sets of integers i subscript 1 comma... comma i subscript n and j subscript 1 comma... comma j subscript r, erase rows i subscript 1 comma... comma i subscript n and columns j subscript 1 comma... comma j subscript r.