Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: Summing the elements of multiple arrays into a new array

by kwoff (Friar)
on Nov 01, 2001 at 05:55 UTC ( [id://122479]=note: print w/replies, xml ) Need Help??


in reply to Re: Summing the elements of multiple arrays into a new array
in thread Summing the elements of multiple arrays into a new array

Hmm, I think in perl6 it's simply
@foobar = @foo ^+ @bar
The '^' makes '+' a "vector" operator.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://122479]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-25 20:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found