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

Function mult

ar.py:107–108  ·  view source on GitHub ↗
(e: dict[str, float], m: float)

Source from the content-addressed store, hash-verified

105
106
107def mult(e: dict[str, float], m: float) -> dict[str, float]:
108 return {v: m * c for v, c in e.items()}
109
110
111def minus(e1: dict[str, float], e2: dict[str, float]) -> dict[str, float]:

Callers 4

minusFunction · 0.85
replaceFunction · 0.85
add_exprMethod · 0.85
get_all_eqs_and_whyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected