def profileParallelSparseOp2(self):
     L = LinOperatorUtils.parallelSparseOp(self.X)
     
     p = 300
     W = numpy.random.rand(self.X.shape[1], p)        
     
     def run(): 
         numRuns = 1
         for i in range(numRuns): 
             L.matmat(W)
     
     ProfileUtils.profile('run()', globals(), locals())
 def profileParallelSparseOp(self):
     L = LinOperatorUtils.parallelSparseOp(self.X)
     
     def run(): 
         numRuns = 10 
         for i in range(numRuns): 
             p = numpy.random.rand(self.X.shape[0])
             q = numpy.random.rand(self.X.shape[1])
             
             L.matvec(q)
             L.rmatvec(p)
     
     ProfileUtils.profile('run()', globals(), locals())