I\'m trying to do multiplication of all the combination of elements in a certain dimension. For example, using for loops it would be
for a,i in enumerate(A):