You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
according to this and this the outer product of a b and outer product a.T b.T should not be the same
but when I do this
import numpy as np
a = np.array([[1], [2], [3]])
b = np.array([[4], [5], [6]])
col_result=np.outer(a, b)
row_result=np.outer(a.T, b.T)
print(col_result)
print(row_result)
the result are equal
The text was updated successfully, but these errors were encountered:
according to this and this the outer product of a b and outer product a.T b.T should not be the same
but when I do this
import numpy as np
a = np.array([[1], [2], [3]])
b = np.array([[4], [5], [6]])
col_result=np.outer(a, b)
row_result=np.outer(a.T, b.T)
print(col_result)
print(row_result)
the result are equal
The text was updated successfully, but these errors were encountered: