Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google-deepmind/alphageometry
/ strip
Function
strip
ar.py:86–87 ·
view source on GitHub ↗
(e: dict[str, float])
Source
from the content-addressed store, hash-verified
84
85
86
def
strip(e: dict[str, float]) -> dict[str, float]:
87
return
{v: c
for
v, c in e.items()
if
c != 0}
88
89
90
def
plus(e1: dict[str, float], e2: dict[str, float]) -> dict[str, float]:
Callers
7
is_zero
Function · 0.85
plus
Function · 0.85
div
Function · 0.85
recon
Function · 0.85
why
Method · 0.85
modulo
Method · 0.85
modulo
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected