Solved Task 1C

This commit is contained in:
schrom01 2022-09-28 10:42:36 +02:00
parent 4487bf4796
commit 5874217e58
1 changed files with 3 additions and 0 deletions

View File

@ -26,3 +26,6 @@ print("B^TB:\n", B.T @ B)
#Task B: #Task B:
print("4. Zeile von A x 2. Spalte von B:\n", A[3, :] @ B[:, 1]) print("4. Zeile von A x 2. Spalte von B:\n", A[3, :] @ B[:, 1])
#Task C:
print("Spaltensumme A:\n", A.sum(0))
print("Zeilensumme B:\n", B.sum(1))