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):
3737 __str__() : toString method
3838 component(i : int): gets the i-th component (start by 0)
3939 __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.
4141 operator + : vector addition
4242 operator - : vector subtraction
4343 operator * : scalar multiplication and dot product
@@ -88,9 +88,9 @@ def __len__(self):
8888 """
8989 return len (self .__components )
9090
91- def eulidLength (self ):
91+ def euclidLength (self ):
9292 """
93- returns the eulidean length of the vector
93+ returns the euclidean length of the vector
9494 """
9595 summe = 0
9696 for c in self .__components :
You can’t perform that action at this time.
0 commit comments