Added Rot3D
This commit is contained in:
@@ -12,4 +12,5 @@ def test_matmul():
|
||||
matrix_c = matmul(matrix_a, matrix_b)
|
||||
print(f"Matrix A: {matrix_a} mal Matrix B: {matrix_b} = Matrix C: {matrix_c}")
|
||||
|
||||
assert matrix_c == [[20, 37, 26], [-1, 27, -8]]
|
||||
|
||||
|
||||
@@ -5,4 +5,6 @@ def test_rot_2D():
|
||||
result = rot_2D(angle)
|
||||
print(f"Angle:{angle} Rot-Matrix:{result}")
|
||||
|
||||
assert result == [[6.123233995736766e-17, -1.0], [1.0, 6.123233995736766e-17]]
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
from matrixmania import rot_3D
|
||||
@@ -0,0 +1 @@
|
||||
from matrixmania import transpose
|
||||
Reference in New Issue
Block a user