augment or concat concats two matrices A and B
having the same number of rows, or having the same number of columns.
In the first case, it returns a matrix having the same number of rows
as A and B by horizontal gluing, in the second case
it returns a matrix having the same number of columns by
vertical gluing.
Input :
Output :
Input :
Output :
Input :
Output :
Note that if A and B have the same dimension, augment
makes a matrix with the same number of rows as A and B
by horizontal gluing, in that case
you must use semi_augment for vertical gluing.
Input :
Output :