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

Method copy

pattern/vector/__init__.py:643–644  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

641 norm = l2 = L2 = L2norm = l2norm = L2_norm = l2_norm
642
643 def copy(self):
644 return Vector(self, weight=self.weight)
645
646 def __call__(self, vector={}):
647 """ Vector(vector) returns a new vector updated with values from the given vector.

Callers 2

__call__Method · 0.95
distributionMethod · 0.45

Calls 1

VectorClass · 0.70

Tested by

no test coverage detected