MCPcopy 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
82def is_zero(e: dict[str, float]) -> bool:
83 return len(strip(e)) == 0 # pylint: disable=g-explicit-length-test
84
85
86def strip(e: dict[str, float]) -> dict[str, float]:

Callers 2

add_exprMethod · 0.85
registerMethod · 0.85

Calls 1

stripFunction · 0.85

Tested by

no test coverage detected