MCPcopy Create free account
hub / github.com/Singular/Singular / operator==

Function operator==

Singular/dyn_modules/python/Poly.h:608–613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

606 return f;
607 }
608inline bool operator==(const Poly& p1, const Poly& p2){
609 ring r1=p1.getRing();
610 ring r2=p2.getRing();
611 if (r1!=r2) return false;
612 return p_EqualPolys(p1.ptr->p,p2.ptr->p,r1);
613}
614inline bool operator==(const Vector& p1, const Vector& p2){
615 ring r1=p1.getRing();
616 ring r2=p2.getRing();

Callers

nothing calls this directly

Calls 2

p_EqualPolysFunction · 0.85
getRingMethod · 0.45

Tested by

no test coverage detected