input: components or nothing simple constructor for init the vector
(self, components: Collection[float] | None = None)
| 49 | """ |
| 50 | |
| 51 | def __init__(self, components: Collection[float] | None = None) -> None: |
| 52 | """ |
| 53 | input: components or nothing |
| 54 | simple constructor for init the vector |
| 55 | """ |
| 56 | if components is None: |
| 57 | components = [] |
| 58 | self.__components = list(components) |
| 59 | |
| 60 | def __len__(self) -> int: |
| 61 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected