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

Function _comb3

graph_utils.py:46–52  ·  view source on GitHub ↗
(elems)

Source from the content-addressed store, hash-verified

44
45
46def _comb3(elems):
47 if len(elems) < 3:
48 return
49 for i, e1 in enumerate(elems[:-2]):
50 for j, e2 in enumerate(elems[i + 1 : -1]):
51 for e3 in elems[i + j + 2 :]:
52 yield e1, e2, e3
53
54
55def comb3(elems):

Callers 1

comb3Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected