NumPy - Array Operations
Given two numpy arrays:
Which of the following computes the element-wise difference and then divides each element by 2 in a single line?
a = np.array([[2, 4], [6, 8]]) b = np.array([[1, 3], [5, 7]])
Which of the following computes the element-wise difference and then divides each element by 2 in a single line?
