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

Method removeAllLowerDimensional

gfanlib/gfanlib_polyhedralfan.cpp:190–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188*/
189
190void PolyhedralFan::removeAllLowerDimensional()
191{
192 if(!cones.empty())
193 {
194 int d=getMaxDimension();
195 PolyhedralConeList::iterator i=cones.begin();
196 while(i!=cones.end() && i->dimension()==d)i++;
197 cones.erase(i,cones.end());
198 }
199}
200
201
202PolyhedralFan PolyhedralFan::facetComplex()const

Callers

nothing calls this directly

Calls 5

emptyMethod · 0.80
dimensionMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected