MarkovCategory#
- class discopy.abc.MarkovCategory[source]#
Bases:
SymmetricCategory,GenericA Markov category is a
SymmetricCategorywith methodscopyandmergefor the supply of commutative comonoids.- abstract classmethod copy(x, n=2)[source]#
Make
ncopies of a given objectx.- Parameters:
x (T) – The object to copy.
n (int) – The number of copies.
- Return type: