linalg(deprecated)
augment
join two or more matrices together horizontally
concat
a synonym for augment
Calling Sequence
Parameters
Description
Examples
augment(A, B, ...)
concat(A, B, ...)
A, B, ...
-
matrices or vectors
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.
with⁡linalg:
a≔matrix⁡1,2,2,3
a≔1223
b≔matrix⁡2,3,3,4,5,6,7,8
b≔345678
augment⁡a,b
1234523678
v≔vector⁡2,1,2
v≔12
concat⁡v,b,v
1345126782
See Also
linalg(deprecated)[stackmatrix]
LinearAlgebra
Download Help Document