Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google-deepmind/alphageometry
/ is_zero
Function
is_zero
ar.py:82–83 ·
view source on GitHub ↗
(e: dict[str, float])
Source
from the content-addressed store, hash-verified
80
81
82
def
is_zero(e: dict[str, float]) -> bool:
83
return
len(strip(e)) == 0
# pylint: disable=g-explicit-length-test
84
85
86
def
strip(e: dict[str, float]) -> dict[str, float]:
Callers
2
add_expr
Method · 0.85
register
Method · 0.85
Calls
1
strip
Function · 0.85
Tested by
no test coverage detected