AUGMENT_COLUMNS _ _ _ _ _ _ _ _ _ _ _ _ operator
Augment columns, stack rows:
<matrix> :- a matrix.
<column\_list> :- either a positive integer or a list of positive integers.
augment_columnsgets hold of the columns of <matrix> specified in column_list and sticks them together.
stack_rowsperforms the same task on rows of <matrix>.
augment_columns(A,{1,2}) [1 2] [ ] [4 5] [ ] [7 8] stack_rows(A,{1,3}) [1 2 3] [ ] [7 8 9]
Related functions: get_columns, get_rows, sub_matrix.