diff --git a/compute.py b/compute.py index a7803aa..97d588c 100644 --- a/compute.py +++ b/compute.py @@ -1,5 +1,8 @@ import math +from tabulate import tabulate + + def matmul(matrix_a:list[list[float]], matrix_b: list[list[float]]) -> list[list[float]]: """ Add two numbers together. @@ -95,7 +98,8 @@ if __name__ == "__main__": print_matrix(matrix_bsp_result) if True: - print_matrix(rot_2d(math.pi*.25)) + #print_matrix(rot_2d(math.pi*.25)) + print(tabulate(rot_2d(1.33))) # Test Kommenter 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