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

Method insert

gfanlib/gfanlib_symmetriccomplex.cpp:172–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170
171
172void SymmetricComplex::insert(Cone const &c)
173{
174 if(c.dimension>dimension)dimension=c.dimension;
175 if(!contains(c))//#2
176 {
177 cones.insert(c);
178 }
179 else
180 {
181 if(c.isKnownToBeNonMaximal()){cones.erase(c);cones.insert(c);}// mark as non-maximal
182 }
183}
184
185
186int SymmetricComplex::getLinDim()const

Callers 5

indexSetMethod · 0.45
permutedMethod · 0.45
buildConeListsMethod · 0.45
toStringJustConesMethod · 0.45
boundaryMethod · 0.45

Calls 2

isKnownToBeNonMaximalMethod · 0.80
eraseMethod · 0.45

Tested by

no test coverage detected