diagrams.PointDiagram
- class rewalt.diagrams.PointDiagram(ambient)
Bases:
SimplexDiagram,CubeDiagramSubclass of
Diagramfor diagrams whose shape is a point.Methods
degeneracy(shape)Given a shape, returns the unique degenerate diagram of that shape over the point.
- degeneracy(shape)
Given a shape, returns the unique degenerate diagram of that shape over the point.
This is, by definition, the pullback of the point diagram along
self.shape.terminal().- Parameters
shape (
shapes.Shape) – The shape of the degenerate diagram.- Returns
degeneracy – The degenerate diagram.
- Return type