Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: perl6 matrix arrayof arrays

by mr_ron (Chaplain)
on Mar 22, 2018 at 13:24 UTC ( [id://1211523]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use v6;
    
    ...
    say "=======\t" x @arr[0].elems;
    say ( (0..@arr[0].end).map: {@arr[*; $_].sum.fmt("%7.1f\t")} ).join;
    #say ( ([Z] @arr).map: { .sum.fmt("%7.1f\t") } ).join;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-18 04:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found