From 892ec5e2c9e0433c217c145651dffbdae13918ce Mon Sep 17 00:00:00 2001 From: Stanislav Gerdt Date: Thu, 22 Oct 2026 09:26:59 +0000 Subject: [PATCH] =?UTF-8?q?tabulate=20und=20ruff=20als=20Abh=C3=A4ngigkeit?= =?UTF-8?q?en,=20Matrix=20als=20Tabelle=20ausgeben?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- compute.py | 5 +++++ pyproject.toml | 1 + 2 files changed, 6 insertions(+) diff --git a/compute.py b/compute.py index a485705..0ab667c 100644 --- a/compute.py +++ b/compute.py @@ -2,6 +2,8 @@ import math +from tabulate import tabulate + # Alle Matrizen sind Listen von Zeilen, z.B. [[1, 2], [3, 4]]. @@ -119,3 +121,6 @@ if __name__ == "__main__": pass print("All tests passed") + + # Rotationsmatrix für 1 rad als Tabelle ausgeben + 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"]