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

Function isPurePoly

factory/cf_factor.cc:248–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246 return true;
247}
248bool isPurePoly(const CanonicalForm & f)
249{
250 if (f.level()<=0) return false;
251 for (CFIterator i=f;i.hasTerms();i++)
252 {
253 if (!(i.coeff().inBaseDomain())) return false;
254 }
255 return true;
256}
257
258
259/**

Callers 6

factorizeFunction · 0.85
gcd_poly_pFunction · 0.85
gcd_poly_0Function · 0.85
subResGCD_pFunction · 0.85
subResGCD_0Function · 0.85
extgcdFunction · 0.85

Calls 4

hasTermsMethod · 0.80
levelMethod · 0.45
inBaseDomainMethod · 0.45
coeffMethod · 0.45

Tested by

no test coverage detected