MCPcopy Create free account
hub / github.com/subbarayudu-j/TheAlgorithms-Python / __init__

Method __init__

linear_algebra_python/src/lib.py:48–53  ·  view source on GitHub ↗

input: components or nothing simple constructor for init the vector

(self,components=[])

Source from the content-addressed store, hash-verified

46 TODO: compare-operator
47 """
48 def __init__(self,components=[]):
49 """
50 input: components or nothing
51 simple constructor for init the vector
52 """
53 self.__components = list(components)
54 def set(self,components):
55 """
56 input: new components

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected