Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/google-deepmind/alphageometry
/ rep
Method
rep
geometry.py:76–80 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
74
node.members.update(self.members)
75
76
def
rep(self) -> Node:
77
x = self
78
while
x.rep_by:
79
x = x.rep_by
80
return
x
81
82
def
why_rep(self) -> list[Any]:
83
return
self.why_equal([self.rep()], None)
Callers
15
why_rep
Method · 0.95
rep_and_why
Method · 0.95
neighbors
Method · 0.95
merge_one
Method · 0.95
equivs
Method · 0.95
connect_to
Method · 0.95
why_connect
Method · 0.95
test_merged_node_representative
Method · 0.80
merge_into
Method · 0.80
get_or_create_angle_d
Method · 0.80
_get_or_create_ratio_l
Method · 0.80
val
Method · 0.80
Calls
no outgoing calls
Tested by
1
test_merged_node_representative
Method · 0.64