I've read your description and your modified code several times, and I'm still at a loss to understand what you are doing. And the output from your code does not clarify it for me.
A wordful description -- something more than "I need to return the sum of the elements of each combination of the arrays. " and maybe a worked example might clarify things and get you more useful responses.
In reply to Re: adding combinations of arrays (of arrays)
by BrowserUk
in thread adding combinations of arrays (of arrays)
by aquinom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |