I am trying to create a 64 by 10 matrix by efficiently multiplying two arrays.
So let's say array B has 64 elements and array C has 10 elements. I want to produce a 64 by 10 matrix from this. At the moment I am doing this
for j in range(10):
for k in range(64):
A[j][k] = B[k] * C[j]
but it takes relativly long for my use since I need to do this thousands of times.
Is there a way to do this really quickly and efficiently with python/numpy?