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

def row_join(self, other):

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