Dim#
- class discopy.monoidal.Dim(*inside, dom=None, cod=None, _scan=True, **kwargs)[source]#
Bases:
TyA dimension is a tuple of positive integers with product
@and unitDim(1).Example
>>> Dim(1) @ Dim(2) @ Dim(3) Dim(2, 3)
- Parameters:
inside (int) –
dom (C0) –
cod (C0) –
- generator_factory#
alias of
int