コード例 #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
ファイル: sparse_row_matrix.py プロジェクト: jatinch/sc-2015
 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
ファイル: rowmatrix.py プロジェクト: jatinch/sc-2015
 def __init__(self):
     BlockMapper.__init__(self)
     self.atamat = None
コード例 #7
0
ファイル: rowmatrix.py プロジェクト: jatinch/sc-2015
 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