yo21
This commit is contained in:
parent
6f50a3be67
commit
8acc4ff3a4
@ -1,5 +1,6 @@
|
|||||||
from typing import List
|
from typing import List
|
||||||
import math
|
import math
|
||||||
|
from tabulate import tabulate
|
||||||
|
|
||||||
def matmul(mat1: List[List[int]], mat2: List[List[int]]) -> List[List[int]]:
|
def matmul(mat1: List[List[int]], mat2: List[List[int]]) -> List[List[int]]:
|
||||||
"""
|
"""
|
||||||
@ -93,6 +94,9 @@ def main():
|
|||||||
for row in rot_2D(math.pi / 2):
|
for row in rot_2D(math.pi / 2):
|
||||||
print(row)
|
print(row)
|
||||||
|
|
||||||
|
print("Matrix A:")
|
||||||
|
print(tabulate(matrix_a))
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user