I\'ve got an optimization problem in which I need to minimize the sum product of two uneven but consecutive arrays, say:
A = {1,2,3} B = {4,9,5,3,2,10}