MCPcopy Index your code
hub / github.com/clips/pattern / __call__

Method __call__

pattern/vector/__init__.py:1431–1432  ·  view source on GitHub ↗
(self, v1, v2)

Source from the content-addressed store, hash-verified

1429 self._cache = {}
1430
1431 def __call__(self, v1, v2):
1432 return self.distance(v1, v2)
1433
1434 def distance(self, v1, v2):
1435 """ Returns the cached distance between two vectors.

Callers

nothing calls this directly

Calls 1

distanceMethod · 0.95

Tested by

no test coverage detected