| 187 | } |
| 188 | |
| 189 | static ideal idGroebner_print(ideal temp,int syzComp, intvec* w=NULL, tHomog hom=testHomog) |
| 190 | { |
| 191 | ideal temp1; |
| 192 | if (w==NULL) |
| 193 | { |
| 194 | if (hom==testHomog) |
| 195 | hom=(tHomog)idHomModule(temp,currRing->qideal,&w); //sets w to weight vector or NULL |
| 196 | } |
| 197 | else |
| 198 | { |
| 199 | w=ivCopy(w); |
| 200 | hom=isHomog; |
| 201 | } |
| 202 | temp1 = kStd(temp,currRing->qideal,hom,&w,NULL,syzComp,0,NULL,print_syz); |
| 203 | idDelete(&temp); |
| 204 | if (w!=NULL) delete w; |
| 205 | return temp1; |
| 206 | } |
| 207 | |
| 208 | static ideal idPrepare_print (ideal h1, ideal h11, tHomog hom, int syzcomp, intvec **w) |
| 209 | { |
no test coverage detected