tabulate und ruff als Abhängigkeiten, Matrix als Tabelle ausgeben
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e9ee62cdbe
commit
892ec5e2c9
2 files changed
+6
No files matched your search
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
import math
|
import math
|
||||||
|
|
||||||
|
from tabulate import tabulate
|
||||||
|
|
||||||
# Alle Matrizen sind Listen von Zeilen, z.B. [[1, 2], [3, 4]].
|
# Alle Matrizen sind Listen von Zeilen, z.B. [[1, 2], [3, 4]].
|
||||||
|
|
||||||
|
|
||||||
@@ -119,3 +121,6 @@ if __name__ == "__main__":
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
print("All tests passed")
|
print("All tests passed")
|
||||||
|
|
||||||
|
# Rotationsmatrix für 1 rad als Tabelle ausgeben
|
||||||
|
print(tabulate(rot_2D(1.0)))
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "matrixmania"
|
name = "matrixmania"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
dependencies = ["tabulate", "ruff"]
|
||||||
Reference in new issue
Block a user