Question
Given:
y = np.array([[1, 4, 3], [9, 2, 7]])
b = np.array([[1, 2], [3, 4]])
d = np.array([[3, 4], [5, 6]])
(a) Extract the first row of y.
(b) Extract columns 0 and 2 of y.
(c) Compute b + d, b * d (element-wise), and b.T (transpose).
(d) Compute b @ d (matrix multiplication). Explain the difference between b * d and b @ d.