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

Function MivComp

Singular/walk.cc:1799–1811  ·  view source on GitHub ↗

unused static void HeadidString(ideal L, char* st) { int i, nL = IDELEMS(L)-1; Print("// The head terms of the ideal %s = ", st); for(i=0; i m[i]))); } Print(" %s;\n", pString(pHead(L->m[nL]))); } */

Source from the content-addressed store, hash-verified

1797
1798*/
1799static inline int MivComp(intvec* iva, intvec* ivb)
1800{
1801 assume(iva->length() == ivb->length());
1802 int i;
1803 for(i=iva->length()-1; i>=0; i--)
1804 {
1805 if((*iva)[i] - (*ivb)[i] != 0)
1806 {
1807 return 0;
1808 }
1809 }
1810 return 1;
1811}
1812
1813/**********************************************
1814 * Look for the smallest absolut value in vec *

Callers 15

MkInterRedNextWeightFunction · 0.85
LastGBFunction · 0.85
Rec_LastGBFunction · 0.85
MAltwalk2Function · 0.85
REC_GB_MwalkFunction · 0.85
MwalkAltFunction · 0.85
MwalkFunction · 0.85
MrwalkFunction · 0.85
MpwalkFunction · 0.85
MprwalkFunction · 0.85
rec_fractal_callFunction · 0.85
rec_r_fractal_callFunction · 0.85

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected