diff --git a/compute.py b/compute.py index ff7ce23..37dede6 100644 --- a/compute.py +++ b/compute.py @@ -1,6 +1,6 @@ -from typing import List, Sequence +from tabulate import tabulate -Matrix = List[List[int]] +Matrix = list[list[int]] def matmul(matrix_a: Matrix, matrix_b: Matrix) -> Matrix: @@ -134,4 +134,5 @@ if __name__ == "__main__": for row in rot_2D(math.pi/2): print(row) +print(tabulate(rot_2D(1.0))) #test git kommentar diff --git a/pyproject.toml b/pyproject.toml index 46e3b47..3a776b1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,4 @@ [project] name = "matrixmania" -version = "0.1.0" \ No newline at end of file +version = "0.1.0" +dependencies = ["tabulate", "ruff"] \ No newline at end of file