linalg(deprecated)/delrows - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : linalg(deprecated)/delrows

linalg(deprecated)

  

delrows

  

delete rows of a matrix

  

delcols

  

delete columns of a matrix

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

delrows(A, r..s)

delcols(A, r..s)

Parameters

A

-

matrix

r..s

-

integer range

Description

• 

Important: The linalg package has been deprecated. Use the superseding commands, LinearAlgebra[DeleteRow] and LinearAlgebra[DeleteColumn], instead.

  

- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.

• 

The function delrows(A, r..s) returns the submatrix of the matrix A obtained by deleting rows r through s. Similarly delcols(A, r..s) returns the submatrix of A obtained by deleting columns r through s.

  

These functions are part of the linalg package, and so can be used in the form delrows(..) only after performing the command with(linalg) or with(linalg,delrows).  These functions can always be accessed in the long form linalg[delrows](..).

Examples

Important: The linalg package has been deprecated. Use the superseding commands, LinearAlgebra[DeleteRow] and LinearAlgebra[DeleteColumn], instead.

withlinalg:

amatrix3,3,1,2,3,4,5,6,7,8,9

a123456789

(1)

delrowsa,2..3

123

(2)

delcolsa,1..1

235689

(3)

See Also

linalg(deprecated)[row]

linalg(deprecated)[submatrix]

LinearAlgebra