Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2015-07-06 23:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (85 votes), past polls