You are viewing a single comment's thread. Return to all comments →
import numpy as np input_array_A = np.array(list(map(int, input().split()))) input_array_B = np.array(list(map(int, input().split()))) print(np.inner(input_array_A,input_array_B)) print(np.outer(input_array_A,input_array_B))
Seems like cookies are disabled on this browser, please enable them to open this website
Inner and Outer
You are viewing a single comment's thread. Return to all comments →