0

I want to something like this:

a = [1,2,3]
b = [1,2,3;4,5,6]

Then,

a *some operation* b = 
[1,2,3;4,5,6] 
[2,4,6;8,10,12]
[3,6,9;12,15,18]

Each element of matrix a is multiplied with all the elements matrix b and as many elements there are in a those many matrices are obtained as results. I don't want to use loops.

user2574723
  • 125
  • 10

0 Answers0