linalg(deprecated)/augment - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


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

linalg(deprecated)

  

augment

  

join two or more matrices together horizontally

  

concat

  

a synonym for augment

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

augment(A, B, ...)

concat(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 augment joins two or more matrices or vectors together horizontally. A vector is interpreted as a column vector. The matrices and vectors must have the same number of rows.

• 

The command with(linalg,augment) 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.

> 

with⁡linalg:

> 

a≔matrix⁡1,2,2,3

a≔1223

(1)
> 

b≔matrix⁡2,3,3,4,5,6,7,8

b≔345678

(2)
> 

augment⁡a,b

1234523678

(3)
> 

v≔vector⁡2,1,2

v≔12

(4)
> 

concat⁡v,b,v

1345126782

(5)

See Also

linalg(deprecated)[stackmatrix]

LinearAlgebra