'Concatenates two matrices along self\'s last and other\'s first row.
Examples
>>> from sympy import zeros, ones
>>> M = zeros(3)
>>> V = ones(1, 3)
>>> M.col_join(V)
Matrix([
[0, 0, 0],
[0, 0, 0],
[0, 0, 0],
[1, 1, 1]])
See Also
col
row_join'

def col_join(self, other):

    if ((self.rows == 0) and (self.cols != other.cols)):
        return self._new(0, other.cols, []).col_join(other)
    if (self.cols != other.cols):
        raise ShapeError('`self`    and    `other`    must    have    the    same    number    of    columns.')
    return self._eval_col_join(other)
