From 4487bf47969e8895de92629af0181d5db839c32f Mon Sep 17 00:00:00 2001 From: schrom01 Date: Wed, 28 Sep 2022 10:34:35 +0200 Subject: [PATCH] Solved Task 1B --- Schenk_Roman_IT21bWIN_Test_Aufg1.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Schenk_Roman_IT21bWIN_Test_Aufg1.py b/Schenk_Roman_IT21bWIN_Test_Aufg1.py index d21e85c..98adac1 100644 --- a/Schenk_Roman_IT21bWIN_Test_Aufg1.py +++ b/Schenk_Roman_IT21bWIN_Test_Aufg1.py @@ -21,4 +21,8 @@ print("Bb:\n", B @ b) print("A^T:\n", A.T) print("B^T:\n", B.T) print("A^TA:\n", A.T @ A) -print("B^TB:\n", B.T @ B) \ No newline at end of file +print("B^TB:\n", B.T @ B) + +#Task B: +print("4. Zeile von A x 2. Spalte von B:\n", A[3, :] @ B[:, 1]) +