I have the following list:
list = {{i,0,2},{j,0,2}};
I want to use the sub-lists into Sum as
sum = Sum[a[i]*b[j],{i,0,2},{j,0,2}]
I need to Flatten the list to get access to its all nested-sublists.
I have the following list:
list = {{i,0,2},{j,0,2}};
I want to use the sub-lists into Sum as
sum = Sum[a[i]*b[j],{i,0,2},{j,0,2}]
I need to Flatten the list to get access to its all nested-sublists.
sum = Sum[a[i]*b[j], Evaluate[Sequence @@ list]]– Bob Hanlon Sep 20 '20 at 19:01