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

Function assumeStdFlag

Singular/subexpr.cc:1587–1606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1585#endif
1586
1587BOOLEAN assumeStdFlag(leftv h)
1588{
1589 if (h->e!=NULL)
1590 {
1591 leftv hh=h->LData();
1592 if (h!=hh) return assumeStdFlag(h->LData());
1593 }
1594 if (!hasFlag(h,FLAG_STD))
1595 {
1596 if (!TEST_VERB_NSB)
1597 {
1598 if (TEST_V_ALLWARN)
1599 Warn("%s is no standard basis in >>%s<<",h->Name(),my_yylinebuf);
1600 else
1601 Warn("%s is no standard basis",h->Name());
1602 }
1603 return FALSE;
1604 }
1605 return TRUE;
1606}
1607
1608/*2
1609* transforms a name (as an string created by omAlloc or omStrDup)

Callers 15

jjEXTENDED_SYSTEMFunction · 0.85
jjDIM2Function · 0.85
jjFRES3Function · 0.85
jjHILBERT2Function · 0.85
jjINDEPSET2Function · 0.85
jjKBASE2Function · 0.85
jjREDUCE_PFunction · 0.85
jjREDUCE_IDFunction · 0.85
jjSTD_1Function · 0.85
jjDEGREEFunction · 0.85
jjDIMFunction · 0.85
jjHIGHCORNERFunction · 0.85

Calls 3

WarnFunction · 0.85
LDataMethod · 0.80
NameMethod · 0.80

Tested by

no test coverage detected