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

Method __rmul__

numericals.py:68–69  ·  view source on GitHub ↗
(self, f: float)

Source from the content-addressed store, hash-verified

66 return Point(self.x * f, self.y * f)
67
68 def __rmul__(self, f: float) -> Point:
69 return self * f
70
71 def __truediv__(self, f: float) -> Point:
72 return Point(self.x / f, self.y / f)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected