human
Multiplication of 1d arrays in numpy
assistant
Here is some code to multiplication of two 1-dimensional arrays  in numpy

np.outer(a, b)

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