def __init__(self, ring, local_pmc): """Specifies the local PMC. Note that unlike StrandAlgebra, the size of idempotent is variable, and we only implement the multiplicity one case. """ DGAlgebra.__init__(self, ring) self.local_pmc = local_pmc
def __init__(self, ring, pmc, idem_size): """Specifies the number of points n and the number of strands k.""" DGAlgebra.__init__(self, ring) assert idem_size <= pmc.genus * 2, "idem_size too large" self.pmc = pmc self.idem_size = idem_size self.abs_gr = AbsZ2Grading(self)
def __init__(self, ring, pmc, idem_size, mult_one = MULT_ONE): """Specifies the PMC, size of idempotent, and whether this is a multiplicity one algebra. """ DGAlgebra.__init__(self, ring) self.pmc = pmc self.idem_size = idem_size self.mult_one = mult_one