Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 browsing the Monastery: (3)
As of 2020-02-20 14:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (91 votes). Check out past polls.

    Notices?