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

Method as_poly

kernel/old/old.Poly.h:311–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309 typedef PolyBase<variant,create_type_input,error_handle_traits> ThisType;
310 public:
311 poly as_poly() const{
312 return p_Copy(ptr->p,ptr->getRing());
313 }
314 template<class T> void checkIsSameRing(T& p){
315 if (error_handle_traits::handleErrors){
316 if (p.getRing()!=this->getRing()){

Callers 2

as_idealMethod · 0.45
as_moduleMethod · 0.45

Calls 2

p_CopyFunction · 0.85
getRingMethod · 0.45

Tested by

no test coverage detected