Erase

<text size="0.8em">Working with polygons? See erase (geometry) </text>

Erases an element of a list or vector.

Syntax

 Range)
 Range)

Description

Given a list or vector L, and integers or sets of integers i1,...,in, erase the elements in LLaTeXL at positions i1,...,inLaTeXi_1, ..., i_n.

calc.erase1.calc.png

Given a matrix M, and two sets sets of integers i1,...,inLaTeXi_1, ..., i_n and j1,...,jr, erase rows i1,...,inLaTeXi_1, ..., i_n and columns j1,...,jrLaTeXj_1, ..., j_r.

calc.erase2.calc.png