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

Method LmExtractAndIter

kernel/GBEngine/kInline.h:708–732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

706}
707
708KINLINE poly sLObject::LmExtractAndIter()
709{
710 poly ret = GetLmTailRing();
711 poly pn;
712
713 assume(p != NULL || t_p != NULL);
714
715 if (bucket != NULL)
716 {
717 pn = kBucketExtractLm(bucket);
718 if (pn == NULL)
719 kBucketDestroy(&bucket);
720 }
721 else
722 {
723 pn = pNext(ret);
724 }
725 pLength--;
726 pNext(ret) = NULL;
727 if (p != NULL && t_p != NULL)
728 p_LmFree(p, currRing);
729
730 Set(pn, tailRing);
731 return ret;
732}
733
734KINLINE poly sLObject::GetTP()
735{

Callers 7

redtailSbaFunction · 0.80
redtailBbaFunction · 0.80
redtailBbaBoundFunction · 0.80
redtailBbaAlsoLC_ZFunction · 0.80
redtailBba_ZFunction · 0.80
redtailBba_RingFunction · 0.80
redtailBbaShiftFunction · 0.80

Calls 4

kBucketDestroyFunction · 0.85
p_LmFreeFunction · 0.85
SetClass · 0.85
kBucketExtractLmFunction · 0.50

Tested by

no test coverage detected