m
This commit is contained in:
1 parent
0c6fc94aed
commit
903707fd59
2 files changed
+8
-2
No files matched your search
+7
-2
@@ -9,10 +9,13 @@ matrices cannot be multiplied.
|
|||||||
The module contains a small ``main`` helper that demonstrates the usage
|
The module contains a small ``main`` helper that demonstrates the usage
|
||||||
with a simple example when run as a script.
|
with a simple example when run as a script.
|
||||||
"""
|
"""
|
||||||
"hihihi"
|
|
||||||
# Zweiter Test: Kommentar für den Commit
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
import math
|
import math
|
||||||
|
from tabulate import tabulate
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Number = (int, float)
|
Number = (int, float)
|
||||||
|
|
||||||
@@ -137,6 +140,8 @@ def main() -> None:
|
|||||||
print("Rotationsmatrix für 90 Grad:")
|
print("Rotationsmatrix für 90 Grad:")
|
||||||
for row in rotation:
|
for row in rotation:
|
||||||
print(row)
|
print(row)
|
||||||
|
print(tabulate(rot_2D(1.0)))
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
@@ -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