Category#
- class discopy.ribbon.Category(ob=None, ar=None)[source]#
Bases:
discopy.pivotal.Category
,discopy.balanced.Category
A ribbon category is both a pivotal category and a balanced category.
- Parameters:
ob (type) – The objects of the category, default is
Ty
.ar (type) – The arrows of the category, default is
Diagram
.