Requirements: tabulate und ruff hinzugefügt
This commit is contained in:
1 parent
0f3d8a2979
commit
d0601a59d7
2 files changed
+6
No files matched your search
@@ -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)))
|
||||
@@ -1,3 +1,4 @@
|
||||
[project]
|
||||
name = "matrixmania"
|
||||
version = "0.1.0"
|
||||
dependencies = ["tabulate", "ruff"]
|
||||
Reference in new issue
Block a user