reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
4748 qp = isl_qpolynomial_cow(qp); 4748 qp = isl_qpolynomial_cow(qp); 4749 if (!qp) 4751 qp->div = isl_mat_cow(qp->div); 4751 qp->div = isl_mat_cow(qp->div); 4752 if (!qp->div) 4755 total = isl_space_dim(qp->dim, isl_dim_all); 4756 v = isl_vec_alloc(qp->div->ctx, qp->div->n_col - 1); 4756 v = isl_vec_alloc(qp->div->ctx, qp->div->n_col - 1); 4758 for (i = 0; i < qp->div->n_row; ++i) { 4759 isl_int *row = qp->div->row[i]; 4785 for (j = i + 1; j < qp->div->n_row; ++j) { 4786 if (isl_int_is_zero(qp->div->row[j][2 + total + i])) 4788 isl_seq_combine(qp->div->row[j] + 1, 4789 qp->div->ctx->one, qp->div->row[j] + 1, 4789 qp->div->ctx->one, qp->div->row[j] + 1, 4790 qp->div->row[j][2 + total + i], v->el, v->size); 4793 s = isl_upoly_from_affine(qp->dim->ctx, v->el, 4794 qp->div->ctx->one, v->size); 4795 qp->upoly = isl_upoly_subs(qp->upoly, total + i, 1, &s); 4795 qp->upoly = isl_upoly_subs(qp->upoly, total + i, 1, &s); 4797 if (!qp->upoly) 4802 return qp; 4805 isl_qpolynomial_free(qp);