LinearAlgebra
DeleteRow
delete row(s) of a Matrix
DeleteColumn
delete column(s) of a Matrix
Calling Sequence
Parameters
Description
Examples
DeleteRow(A, L, options)
DeleteColumn(A, L, options)
A
-
Matrix
L
integer, range with integer endpoints, or list of integers and/or ranges with integer endpoints; row (column) selection
options
(optional); constructor options for the result object
The DeleteRow(A, L) (DeleteColumn(A, L)) function returns a submatrix of A obtained by deleting the rows (columns) determined by the selection parameter L. For more information regarding parameter L, see Matrix and Vector Entry Selection.
The constructor options provide additional information (readonly, shape, storage, order, datatype, and attributes) to the Matrix constructor that builds the result. These options may also be provided in the form outputoptions=[...], where [...] represents a Maple list. If a constructor option is provided in both the calling sequence directly and in an outputoptions option, the latter takes precedence (regardless of the order).
These functions are part of the LinearAlgebra package, and so they can be used in the form DeleteRow(..) or DeleteColumn(..) only after executing the command with(LinearAlgebra). However, it can always be accessed through the long form of the command by using LinearAlgebra[DeleteRow](..) or LinearAlgebra[DeleteColumn](..).
with⁡LinearAlgebra:
A≔1,2,3|4,5,6|7,8,9
A≔147258369
DeleteRow⁡A,−2..3
147
DeleteColumn⁡A,1,3
456
DeleteRow⁡A,3
147258
See Also
LinearAlgebra[Column]
LinearAlgebra[Row]
LinearAlgebra[SubMatrix]
Download Help Document