コード例 #1
0
 def in_symmetry(self, NewSymmetry):
     initial, *napkin, resultant = self.fix_partial()
     return [self.fix_final([initial, *i, resultant]) for i in distinct(NewSymmetry(j) for j in self.symmetries(napkin).expand())]
コード例 #2
0
 def expanded_unique(self):
     return distinct(self.expanded)