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

Function MExpPol

Singular/walk.cc:878–888  ·  view source on GitHub ↗

* return the "intvec" lead exponent of a polynomial * *****************************************************/

Source from the content-addressed store, hash-verified

876 * return the "intvec" lead exponent of a polynomial *
877 *****************************************************/
878static intvec* MExpPol(poly f)
879{
880 int i, nR = currRing->N;
881 intvec* result = new intvec(nR);
882
883 for(i=nR-1; i>=0; i--)
884 {
885 (*result)[i] = pGetExp(f,i+1);
886 }
887 return result;
888}
889
890/*****************************************************
891 * Compare two given intvecs and return 1, if they *

Callers 1

MwalkNextWeightCCFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected