human
Multiplication of 1d arrays in numpy
assistant
Here is some code to get the dot product of two one dimensional numpy arrays

np.dot(a[:, (None)], b[(None), :])

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.