MCPcopy Create free account
hub / github.com/google-deepmind/alphageometry / _perm4

Function _perm4

graph_utils.py:118–128  ·  view source on GitHub ↗
(elems)

Source from the content-addressed store, hash-verified

116
117
118def _perm4(elems):
119 for x in elems:
120 for y in elems:
121 if y == x:
122 continue
123 for z in elems:
124 if z in (x, y):
125 continue
126 for t in elems:
127 if t not in (x, y, z):
128 yield x, y, z, t
129
130
131def perm4(elems):

Callers 1

perm4Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected