http://qs321.pair.com?node_id=11100098


in reply to adding n-tuples

Reading all of the replies, I'm really surprised that "n-tuple" somehow means "product", when it could as easily mean concatenation or something else entirely.

I would have liked to see a simple example worked out (which might have helped the OP in the first place). :D

-QM
--
Quantum Mechanics: The dreams stuff is made of

Replies are listed 'Best First'.
Re^2: adding n-tuples
by LanX (Saint) on May 16, 2019 at 15:38 UTC
    It's most likely homework.

    The canonic solution are 4 nested loops with an $sum += $c1*$c2*$c3*$c4 as the last step.

    Feel free to demonstrate it.

    update

    like here: Re: adding n-tuples

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice