delete row(s) of a Matrix - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Linear Algebra : LinearAlgebra Package : SubOperations : LinearAlgebra/DeleteRow

LinearAlgebra[DeleteRow] - delete row(s) of a Matrix

LinearAlgebra[DeleteColumn] - delete column(s) of a Matrix

Calling Sequence

DeleteRow(A, L, options)

DeleteColumn(A, L, options)

Parameters

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

Description

• 

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](..).

Examples

withLinearAlgebra:

A:=1,2,3|4,5,6|7,8,9

A:=147258369

(1)

DeleteRowA,2..3

147

(2)

DeleteColumnA,1,3

456

(3)

DeleteRowA,3

147258

(4)

See Also

LinearAlgebra[Column], LinearAlgebra[Row], LinearAlgebra[SubMatrix], Matrix


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam