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

Function hashed

ar.py:78–79  ·  view source on GitHub ↗
(e: dict[str, float])

Source from the content-addressed store, hash-verified

76
77
78def hashed(e: dict[str, float]) -> tuple[tuple[str, float], ...]:
79 return tuple(sorted(list(e.items())))
80
81
82def is_zero(e: dict[str, float]) -> bool:

Callers 2

get_all_eqsMethod · 0.70
get_all_eqs_and_whyMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected