Solved Task 1C
This commit is contained in:
parent
4487bf4796
commit
5874217e58
|
@ -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))
|
Loading…
Reference in New Issue