MCPcopy 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
86def strip(e: dict[str, float]) -> dict[str, float]:
87 return {v: c for v, c in e.items() if c != 0}
88
89
90def plus(e1: dict[str, float], e2: dict[str, float]) -> dict[str, float]:

Callers 7

is_zeroFunction · 0.85
plusFunction · 0.85
divFunction · 0.85
reconFunction · 0.85
whyMethod · 0.85
moduloMethod · 0.85
moduloMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected