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

Method norm

numericals.py:129–130  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

127 return line.parallel_line(self)
128
129 def norm(self) -> float:
130 return np.sqrt(self.x**2 + self.y**2)
131
132 def cos(self, other: Point) -> float:
133 x, y = self.x, self.y

Callers 1

cosMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected