Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Finding the max()/min()

by Zed_Lopez (Chaplain)
on Nov 11, 2004 at 17:49 UTC ( #407128=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub min { eigenstates( any(@_) <= all(@_) ) }
    
    sub max { eigenstates( any(@_) >= all(@_) ) } 
    
  2. or download this
    sub max {
      my $max = shift;
      $max = $max > $_ ? $max : $_ for @_;
      return $max
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2016-06-30 06:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (389 votes). Check out past polls.