Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Finding the max()/min()

by Zed_Lopez (Chaplain)
on Nov 11, 2004 at 17:49 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://407128]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-18 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found