Version 2

This commit is contained in:
2025-11-06 12:23:04 +01:00
parent f5afa78ff9
commit 23e7c63d11
4 changed files with 30 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
from .compute import matmul, transpose, rot_2D
from .compute import matmul, transpose, rot_2D, rot_3D
+6
View File
@@ -127,3 +127,9 @@ if __name__ == "__main__":
print("Matrix A:")
print(tabulate(matrix_a))
theta = math.pi / 2
R = rot_3D(theta, "y")
print("rotation matrix for 90° on the y axis:")
print(tabulate(R))