Copy

Contents

Copy#

class discopy.markov.Copy(x, n=2)[source]#

Bases: Box

The copy of an atomic type x some n number of times.

Parameters:
  • x (monoidal.Ty) – The type to copy.

  • n (int) – The number of copies.