'Assign the contents of mat to the rows with indices start through end.'

def set_row_slice(self, start, end, mat):

    err_code = _cudamat.set_row_slice(mat.p_mat, self.p_mat, ct.c_int(start), ct.c_int(end))
    if err_code:
        raise generate_exception(err_code)
    return self
