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

Function _comb2

graph_utils.py:34–39  ·  view source on GitHub ↗
(elems)

Source from the content-addressed store, hash-verified

32
33
34def _comb2(elems):
35 if len(elems) < 2:
36 return
37 for i, e1 in enumerate(elems[:-1]):
38 for e2 in elems[i + 1 :]:
39 yield e1, e2
40
41
42def comb2(elems):

Callers 2

comb2Function · 0.85
_comb4Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected