From 2d555497ec13d2028310ea928235aaa6b1e1ae88 Mon Sep 17 00:00:00 2001 From: steph Date: Thu, 15 Oct 2026 13:41:46 +0200 Subject: [PATCH] Small addon during end of Praktika --- compute.py | 6 +++++- pyproject.toml | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) 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