returns a string representation of the vector
(self)
| 62 | else: |
| 63 | raise Exception("please give any vector") |
| 64 | def __str__(self): |
| 65 | """ |
| 66 | returns a string representation of the vector |
| 67 | """ |
| 68 | return "(" + ",".join(map(str, self.__components)) + ")" |
| 69 | def component(self,i): |
| 70 | """ |
| 71 | input: index (start at 0) |
nothing calls this directly
no outgoing calls
no test coverage detected