Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Find column number for the row-wise max value

by vagabonding electron (Hermit)
on Mar 02, 2012 at 09:16 UTC ( #957417=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    id003;30;80;10
    id004;30;90;90
    id005;50;50;10
    
  2. or download this
    Max value in the row id001 is 30 in the column(s) 3.
    Max value in the row id002 is 50 in the column(s) 3.
    Max value in the row id003 is 80 in the column(s) 2.
    Max value in the row id004 is 90 in the column(s) 2,3.
    Max value in the row id005 is 50 in the column(s) 1,2.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2014-08-29 04:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls