We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8366782 commit 86a2d5fCopy full SHA for 86a2d5f
linear_algebra/src/lib.py
@@ -37,7 +37,7 @@ class Vector(object):
37
__str__() : toString method
38
component(i : int): gets the i-th component (start by 0)
39
__len__() : gets the size of the vector (number of components)
40
- euclidLength() : returns the eulidean length of the vector.
+ euclidLength() : returns the euclidean length of the vector.
41
operator + : vector addition
42
operator - : vector subtraction
43
operator * : scalar multiplication and dot product
@@ -88,9 +88,9 @@ def __len__(self):
88
"""
89
return len(self.__components)
90
91
- def eulidLength(self):
+ def euclidLength(self):
92
93
- returns the eulidean length of the vector
+ returns the euclidean length of the vector
94
95
summe = 0
96
for c in self.__components:
0 commit comments