(matrices)
return ByteMatrix._create_from_rows([
        bytearray().join(_rows)
        for _rows in zip(*(_mat._rows for _mat in matrices))
    ])
Horizontally concatenate matrices.
Horizontally concatenate matrices.
Horizontally concatenate matrices .
def hstack(matrices):
    """Horizontally concatenate matrices."""
    matrices = list(matrices)
    return ByteMatrix._create_from_rows([
        bytearray().join(_rows)
        for _rows in zip(*(_mat._rows for _mat in matrices))
    ])
def hstack ( matrices ) : matrices = list ( matrices ) return ByteMatrix . _create_from_rows ( [ bytearray ( ) . join ( _rows ) for _rows in zip ( * ( _mat . _rows for _mat in matrices ) ) ] )