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

Method leadExp

Singular/dyn_modules/python/Poly.h:352–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350 typedef create_type_input create_type;
351 typedef PolyInputIterator<create_type> iterator;
352 Intvec leadExp()
353 {
354 int nvars=rVar(ptr->r.get());
355 Intvec res(nvars);
356 for(int i=0;i<nvars;i++)
357 {
358 res[i]=p_GetExp(ptr->p,i+1,ptr->getRing());
359 }
360 return res;
361 }
362 void copy_on_write()
363 {
364 if (!ptr.unique())

Callers 1

term2OMFunction · 0.45

Calls 4

rVarFunction · 0.85
p_GetExpFunction · 0.85
getMethod · 0.45
getRingMethod · 0.45

Tested by

no test coverage detected