Esempio n. 1
0
 def __iter__(self):
     return imap(lambda x: (self.svd.u.label(0, x[0]), self.svd.v.label(0, x[1])), outer_tuple_iterator(self.shape))
Esempio n. 2
0
 def _iter_all(self):
     # Iterates over all possible indices, instead of just the defined
     # indices
     return outer_tuple_iterator(self.shape)
Esempio n. 3
0
 def _iter_all(self):
     # Iterates over all possible indices, instead of just the defined
     # indices
     return outer_tuple_iterator(self.shape)