| 2670 | } |
| 2671 | |
| 2672 | bigintmat* hFirstSeries0b(ideal I, ideal Q, intvec *wdegree, intvec *shifts, const ring src, const coeffs biv_cf) |
| 2673 | { |
| 2674 | if (hilb_Qt==NULL) hilb_Qt=makeQt(); |
| 2675 | poly h; |
| 2676 | int m=0; |
| 2677 | if (isModule(I,src)) |
| 2678 | { |
| 2679 | h=hFirstSeries0m(I,Q,wdegree,shifts,src,hilb_Qt); |
| 2680 | if (shifts!=NULL) m=shifts->min_in(); |
| 2681 | } |
| 2682 | else |
| 2683 | h=hFirstSeries0p(I,Q,wdegree,src,hilb_Qt); |
| 2684 | bigintmat *biv=hPoly2BIV(h,hilb_Qt,biv_cf); |
| 2685 | if (m!=0) |
| 2686 | { |
| 2687 | n_Delete(&BIMATELEM(*biv,1,biv->cols()),biv_cf); |
| 2688 | BIMATELEM(*biv,1,biv->cols())=n_Init(m,biv_cf); |
| 2689 | } |
| 2690 | p_Delete(&h,hilb_Qt); |
| 2691 | return biv; |
| 2692 | } |
| 2693 | |
| 2694 | bigintmat* hSecondSeries0b(ideal I, ideal Q, intvec *wdegree, intvec *shifts, const ring src, const coeffs biv_cf) |
| 2695 | { |
no test coverage detected