Small function for log multiplication 

It is a function: A =[1 2 3],B = [4,5,6]
A*B'=1*4 + 2*5 +3*6 = 32,