def setUp(self): self.w = lat2W(4, 4) self.x = np.ones(16) self.x[0:8] = 0 self.z = [0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1]
def setUp(self): self.w = lat2W(4, 4) self.y = np.ones(16) self.y[0:8] = 0
def setUp(self): self.w = lat2W(4, 4) self.y = np.ones(16) self.y[0:8] = 0 np.random.seed(12345) self.g = Gamma(self.y, self.w)