def __init__(self, nu): R = Rcomp() Fs = (R, R) self.nl = nu mcdp_dev_warning( 'This is not even true - it is the complicated function') amap = ProductNMap(Fs, R) WrapAMap.__init__(self, amap, None)
def __init__(self, Fs, R): if isinstance(R, Rcomp): for F in Fs: check_isinstance(F, Rcomp) elif isinstance(R, RcompUnits): for F in Fs: check_isinstance(F, RcompUnits) check_mult_units_consistency_seq(Fs, R) self.Fs = Fs amap = ProductNMap(Fs, R) WrapAMap.__init__(self, amap, None)
def __init__(self, Fs, R, nl): amap = ProductNMap(Fs, R) WrapAMap.__init__(self, amap, None) self.nl = nl
def __init__(self, n): R = Rcomp() Fs = (R, ) * n amap = ProductNMap(Fs, R) self.Fs = Fs WrapAMap.__init__(self, amap, None)