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

Function _perm3

graph_utils.py:104–111  ·  view source on GitHub ↗
(elems)

Source from the content-addressed store, hash-verified

102
103
104def _perm3(elems):
105 for x in elems:
106 for y in elems:
107 if y == x:
108 continue
109 for z in elems:
110 if z not in (x, y):
111 yield x, y, z
112
113
114def perm3(elems):

Callers 1

perm3Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected