augment(...) - Augment function
Returns an array formed by placing arguments left to right.
Arguments are arrays having the same number of rows or they are scalars and row vectors.
In the case of scalar values the augment function returns a row vector containing the list of arguments.
In the next example three row vectors
a,
b, and
c are input as arguments to the augment function.
In order to obtain a matrix the vectors must be in column order. The three column vectors
d,
f, and
g are
input as arguments to the augment function.
The column vectors can easily be translated to rows in the matrix by applying the matrix transpose to the augment function.
See also
stackReturn to
Functions page