MCPcopy Create free account
hub / github.com/Singular/Singular / hFirstSeries0b

Function hFirstSeries0b

kernel/combinatorics/hilb.cc:2672–2692  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2670}
2671
2672bigintmat* 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
2694bigintmat* hSecondSeries0b(ideal I, ideal Q, intvec *wdegree, intvec *shifts, const ring src, const coeffs biv_cf)
2695{

Callers 3

jjHILBERT2Function · 0.85
jjHILBERT3Function · 0.85
scDegreeFunction · 0.85

Calls 9

makeQtFunction · 0.85
isModuleFunction · 0.85
hFirstSeries0mFunction · 0.85
hFirstSeries0pFunction · 0.85
hPoly2BIVFunction · 0.85
n_DeleteFunction · 0.85
n_InitFunction · 0.85
p_DeleteFunction · 0.85
colsMethod · 0.80

Tested by

no test coverage detected