Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google-deepmind/alphageometry
/ __mul__
Method
__mul__
numericals.py:65–66 ·
view source on GitHub ↗
(self, f: float)
Source
from the content-addressed store, hash-verified
63
return
Point(self.x - p.x, self.y - p.y)
64
65
def
__mul__(self, f: float) -> Point:
66
return
Point(self.x * f, self.y * f)
67
68
def
__rmul__(self, f: float) -> Point:
69
return
self * f
Callers
nothing calls this directly
Calls
1
Point
Class · 0.70
Tested by
no test coverage detected