returns the eulidean length of the vector
(self)
| 95 | return len(self.__components) |
| 96 | |
| 97 | def eulidLength(self): |
| 98 | """ |
| 99 | returns the eulidean length of the vector |
| 100 | """ |
| 101 | summe = 0 |
| 102 | for c in self.__components: |
| 103 | summe += c**2 |
| 104 | return math.sqrt(summe) |
| 105 | |
| 106 | def __add__(self, other): |
| 107 | """ |
no outgoing calls