linalg(deprecated)/stackmatrix - Help

Online Help

All Products    Maple    MapleSim


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

linalg(deprecated)

  

stackmatrix

  

join two or more matrices together vertically

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

stackmatrix(A, B,...)

Parameters

A, B, ...

-

matrices or vectors

Description

• 

Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[Matrix], instead.

  

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

• 

The function stackmatrix joins two or more matrices or vectors together vertically, where a vector is interpreted as a row vector. The matrices and vectors must have the same number of columns.

• 

The command with(linalg,stackmatrix) allows the use of the abbreviated form of this command.

Examples

Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[Matrix], instead.

withlinalg:

amatrix2,2,1,2,3,4

a1234

(1)

bmatrix2,2,5,6,7,8

b5678

(2)

stackmatrixa,b

12345678

(3)

vvector2,1,2

v12

(4)

stackmatrixv,b,v

12567812

(5)

See Also

linalg(deprecated)[augment]

linalg(deprecated)[extend]

LinearAlgebra

Matrix and Vector Construction Shortcuts