Tabulate und Ruff hinzugefügt

This commit is contained in:
Amalia Sucipto committed 2026-10-22 00:29:49 +02:00
1 parent c2491016b0
commit 79042907b4
2 files changed
+8 -2

No files matched your search

+6 -1
View File
@@ -1,5 +1,8 @@
from typing import TypeAlias
from math import cos, sin
from typing import TypeAlias
from tabulate import tabulate
# Funktionen für Matrixberechnungen
Number: TypeAlias = int | float
@@ -132,6 +135,8 @@ def rot_2D(theta: float) -> Matrix:
if __name__ == "__main__":
print(tabulate(rot_2D(1.0)))
# Beispiel Multiplikation
A1 = [[1, 2, 3], [4, 5, 6]]
B1 = [[7, 8], [9, 10], [11, 12]]
+2 -1
View File
@@ -1,3 +1,4 @@
[project]
name = "matrixmania"
version = "0.1.0"
version = "0.1.0"
dependencies = ["tabulate", "ruff"]