diff --git a/compute.py b/compute.py index 8c3a95e..2cef3c7 100644 --- a/compute.py +++ b/compute.py @@ -1,6 +1,8 @@ # Matrixberechnungen fuer das Projekt MatrixMania import math +from tabulate import tabulate + def matmul( matrix_a: list[list[float]], matrix_b: list[list[float]] @@ -162,3 +164,6 @@ if __name__ == "__main__": matmul([[1, 2, 3]], [[1, 2], [3, 4]]) except ValueError as error: print("Invalid dimensions:", error) + + print("Rotationsmatrix als Tabelle:") + print(tabulate(rot_2D(1.0))) diff --git a/pyproject.toml b/pyproject.toml index 7a6417e..579c5f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,4 @@ [project] name = "matrixmania" version = "0.1.0" +dependencies = ["tabulate", "ruff"]