Function reference · Linear algebra
augment
Horizontally joins two matrices with the same number of rows.
augment(left,right) appends the columns of the right matrix to the left matrix.
Both matrices must have the same number of rows.
Examples
These examples use Nerdamer Notation.
Append one column to a two-column matrix.
augment(matrix([1,2],[3,4]),matrix([5],[6]))
// → matrix([1, 2, 5], [3, 4, 6])Interfaces
The same operation is available through the interfaces below.
Nerdamer Notation
Use this form inside input passed to nerdamer(...).
augment(left, right)
Parameters
left— Matrix placed on the left.right— Matrix appended on the right.
