returns the eulidean length of the vector
(self)
| 81 | """ |
| 82 | return len(self.__components) |
| 83 | def eulidLength(self): |
| 84 | """ |
| 85 | returns the eulidean length of the vector |
| 86 | """ |
| 87 | summe = 0 |
| 88 | for c in self.__components: |
| 89 | summe += c**2 |
| 90 | return math.sqrt(summe) |
| 91 | def __add__(self,other): |
| 92 | """ |
| 93 | input: other vector |
no outgoing calls