def toDGenerator(self, new_parent): """Convert to a generator of a type D structure over the bialgebra.""" new_idem = TensorIdempotent((self.idem1, self.idem2)) new_gen = DGenerator(new_parent, new_idem) new_gen.__dict__.update(self.__dict__) new_gen.parent, new_gen.idem = new_parent, new_idem return new_gen
def __init__(self, parent, gen_left, gen_right): """Specify generators on two sides of the tensor (DA/DD and D generators). """ # Note tuple initialization is automatic DGenerator.__init__(self, parent, gen_left.idem1) self.gen_left = gen_left self.gen_right = gen_right filt = [] if hasattr(gen_left, "filtration"): filt += gen_left.filtration if hasattr(gen_right, "filtration"): filt += gen_right.filtration if filt != []: self.filtration = filt
def __init__(self, parent, gen_left, gen_right): DGenerator.__init__(self, parent, gen_left.idem) # missing come back and fill in
def __init__(self, parent, gen_left, gen_right): """Specify generators on two sides of the tensor (D and DD generators). """ # Note tuple initialization is automatic DGenerator.__init__(self, parent, gen_right.idem2)
def __init__(self, parent, source, coeff, target): """Specifies the morphism source -> coeff * target.""" DGenerator.__init__(self, parent, source.idem2.opp()) MorObject.__init__(self, source, coeff, target)