예제 #1
0
 def __init__(self,c,k,m,seed_s):
     BlockMapper.__init__(self)
     self.m = m
     self.seed_s = seed_s
     self.c = c
     self.k = k
     self.PA = [None for i in range(self.k)]
예제 #2
0
 def __init__(self,c,k):
     BlockMapper.__init__(self,1000)
     self.c = c  # projection size
     self.k = k  # number of independent trials
     self.PA = [None for i in range(self.k)]
예제 #3
0
 def __init__(self,c,k):
     BlockMapper.__init__(self,1)
     self.c = c
     self.k = k
예제 #4
0
 def __init__(self,c,k):
     BlockMapper.__init__(self,1000)
     self.c = c
     self.k = k
     self.PA = [None for i in range(self.k)]
예제 #5
0
 def __init__(self,direct_sum=False):
     BlockMapper.__init__(self, 128)
     self.atamat = None
     self.data = {'row':[],'col':[],'val':[]}
     self.direct_sum = direct_sum
예제 #6
0
 def __init__(self):
     BlockMapper.__init__(self)
     self.atamat = None
예제 #7
0
 def __init__(self):
     BlockMapper.__init__(self)
     self.ba = None
예제 #8
0
 def __init__(self):
     BlockMapper.__init__(self)
     self.ba = None
예제 #9
0
 def __init__(self, direct_sum=False):
     BlockMapper.__init__(self, 128)
     self.atamat = None
     self.data = {'row': [], 'col': [], 'val': []}
     self.direct_sum = direct_sum