File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class Vector(object):
37
37
__str__() : toString method
38
38
component(i : int): gets the i-th component (start by 0)
39
39
__len__() : gets the size of the vector (number of components)
40
- euclidLength() : returns the eulidean length of the vector.
40
+ euclidLength() : returns the euclidean length of the vector.
41
41
operator + : vector addition
42
42
operator - : vector subtraction
43
43
operator * : scalar multiplication and dot product
@@ -88,9 +88,9 @@ def __len__(self):
88
88
"""
89
89
return len (self .__components )
90
90
91
- def eulidLength (self ):
91
+ def euclidLength (self ):
92
92
"""
93
- returns the eulidean length of the vector
93
+ returns the euclidean length of the vector
94
94
"""
95
95
summe = 0
96
96
for c in self .__components :
You can’t perform that action at this time.
0 commit comments