changes the x-y component of this matrix
(self, x: int, y: int, value: float)
| 372 | raise Exception("change_component: indices out of bounds") |
| 373 | |
| 374 | def change_component(self, x: int, y: int, value: float) -> None: |
| 375 | """ |
| 376 | changes the x-y component of this matrix |
| 377 | """ |
| 378 | if 0 <= x < self.__height and 0 <= y < self.__width: |
| 379 | self.__matrix[x][y] = value |
| 380 | else: |
| 381 | raise Exception("change_component: indices out of bounds") |
| 382 | |
| 383 | def minor(self, x: int, y: int) -> float: |
| 384 | """ |
no outgoing calls