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

Method flip

numericals.py:111–112  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

109 return Point(x * cosb - y * sinb, x * sinb + y * cosb)
110
111 def flip(self) -> Point:
112 return Point(-self.x, self.y)
113
114 def perpendicular_line(self, line: Line) -> Line:
115 return line.perpendicular_line(self)

Callers 3

gather_topk_beamsFunction · 0.80
beam_search_loop_body_fnFunction · 0.80
random_rfssFunction · 0.80

Calls 1

PointClass · 0.70

Tested by

no test coverage detected