Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 pondering the Monastery: (9)
As of 2016-09-27 19:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (510 votes). Check out past polls.