Solved Task 1B

This commit is contained in:
schrom01 2022-09-28 10:34:35 +02:00
parent 10ecec493f
commit 4487bf4796
1 changed files with 5 additions and 1 deletions

View File

@ -22,3 +22,7 @@ print("A^T:\n", A.T)
print("B^T:\n", B.T) print("B^T:\n", B.T)
print("A^TA:\n", A.T @ A) print("A^TA:\n", A.T @ A)
print("B^TB:\n", B.T @ B) print("B^TB:\n", B.T @ B)
#Task B:
print("4. Zeile von A x 2. Spalte von B:\n", A[3, :] @ B[:, 1])