id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
13566 Simplicial complex examples as singletons tscrim tscrim "Since each of the examples are unique, there should only be one (immutable) instance of each. In other words, we do not recreate the example each time it is called. For example
{{{
sage: S1 = simplicial_complexes.KleinBottle()
sage: S2 = simplicial_complexes.KleinBottle()
sage: S1 == S2
True
sage: S1 is S2
False
}}}
where the last should return `true`. Possibly do this by something like
{{{
def KlienBottle(self):
if not hasattr(self, ""_klien_bottle_output""):
self._klien_bottle_output = SimplicialComplex(facets)
return self._klien_bottle_output
}}}
This is an expansion on the concept in #13244 and the dependency on #12587 is in making simplicial complexes immutable.
" enhancement closed minor sage-6.10 algebraic topology fixed simplicial jhpalmieri vbraun John Palmieri Travis Scrimshaw N/A bab305f1de1e2867b8b5f6a646e0444111515451 bab305f1de1e2867b8b5f6a646e0444111515451