Reference API
Notebooks
Extra
Bases: discopy.rigid.Box, Diagram
discopy.rigid.Box
Diagram
A pivotal box is a rigid box in a pivotal diagram.
name (str) – The name of the box.
dom (Ty) – The domain of the box, i.e. its input.
cod (Ty) – The codomain of the box, i.e. its output.
Whether the box is a conjugate, i.e. the transpose of a dagger.