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

Method __truediv__

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

Source from the content-addressed store, hash-verified

69 return self * f
70
71 def __truediv__(self, f: float) -> Point:
72 return Point(self.x / f, self.y / f)
73
74 def __floordiv__(self, f: float) -> Point:
75 div = self / f # true div

Callers

nothing calls this directly

Calls 1

PointClass · 0.70

Tested by

no test coverage detected