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

Function jjLIFT

Singular/iparith.cc:2586–2605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2584 return mpKoszul(res, u, &h, v);
2585}
2586static BOOLEAN jjLIFT(leftv res, leftv u, leftv v)
2587{
2588 int ul= IDELEMS((ideal)u->Data());
2589 int vl= IDELEMS((ideal)v->Data());
2590#ifdef HAVE_SHIFTBBA
2591 if (rIsLPRing(currRing))
2592 {
2593 if (currRing->LPncGenCount < ul)
2594 {
2595 Werror("At least %d ncgen variables are needed for this computation.", ul);
2596 return TRUE;
2597 }
2598 }
2599#endif
2600 ideal m = idLift((ideal)u->Data(),(ideal)v->Data(),NULL,FALSE,
2601 hasFlag(u,FLAG_STD));
2602 if (m==NULL) return TRUE;
2603 res->data = (char *)id_Module2formatedMatrix(m,ul,vl,currRing);
2604 return FALSE;
2605}
2606static BOOLEAN jjLIFTSTD(leftv res, leftv u, leftv v)
2607{
2608 if ((v->rtyp!=IDHDL)||(v->e!=NULL)) return TRUE;

Callers

nothing calls this directly

Calls 5

rIsLPRingFunction · 0.85
WerrorFunction · 0.85
idLiftFunction · 0.85
id_Module2formatedMatrixFunction · 0.85
DataMethod · 0.45

Tested by

no test coverage detected