Small addon during end of Praktika
This commit is contained in:
1 parent
bfa76af61f
commit
2d555497ec
2 files changed
+7
-2
No files matched your search
+5
-1
@@ -1,5 +1,8 @@
|
|||||||
import math
|
import math
|
||||||
|
|
||||||
|
from tabulate import tabulate
|
||||||
|
|
||||||
|
|
||||||
def matmul(matrix_a:list[list[float]], matrix_b: list[list[float]]) -> list[list[float]]:
|
def matmul(matrix_a:list[list[float]], matrix_b: list[list[float]]) -> list[list[float]]:
|
||||||
"""
|
"""
|
||||||
Add two numbers together.
|
Add two numbers together.
|
||||||
@@ -95,7 +98,8 @@ if __name__ == "__main__":
|
|||||||
print_matrix(matrix_bsp_result)
|
print_matrix(matrix_bsp_result)
|
||||||
|
|
||||||
if True:
|
if True:
|
||||||
print_matrix(rot_2d(math.pi*.25))
|
#print_matrix(rot_2d(math.pi*.25))
|
||||||
|
print(tabulate(rot_2d(1.33)))
|
||||||
|
|
||||||
|
|
||||||
# Test Kommenter
|
# Test Kommenter
|
||||||
|
|||||||
+2
-1
@@ -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