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

Function minus

ar.py:111–112  ·  view source on GitHub ↗
(e1: dict[str, float], e2: dict[str, float])

Source from the content-addressed store, hash-verified

109
110
111def minus(e1: dict[str, float], e2: dict[str, float]) -> dict[str, float]:
112 return plus(e1, mult(e2, -1))
113
114
115def div(e1: dict[str, float], e2: dict[str, float]) -> float:

Callers 5

add_eq4Method · 0.85
get_all_eqsMethod · 0.85
get_all_eqs_and_whyMethod · 0.85
add_eqangleMethod · 0.85
get_all_eqs_and_whyMethod · 0.85

Calls 2

plusFunction · 0.85
multFunction · 0.85

Tested by

no test coverage detected