Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 about the Monastery: (8)
As of 2014-09-20 11:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (158 votes), past polls