# Vectorized solution for multiplying each element of array with each element

Advertisements I would like to multiply all items in an array with each other and to get a df with the first column being a1a1, a1a2, a1a3…, the second column a2a1, a2*a2 etc. and I’d like a vectorized solution. What I have so far is half-vectorized, I don’t know how to get rid of the… Read More Vectorized solution for multiplying each element of array with each element