Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Tracking minimum of values in an array over time

by tj_thompson (Monk)
on Oct 05, 2011 at 20:09 UTC ( #929872=note: print w/replies, xml ) Need Help??


in reply to Re^2: Tracking minimum of values in an array over time
in thread Tracking minimum of values in an array over time

Now that's a fantastic idea. Instead of trying to track the minimum of the set, track how many in the set have passed my floor value.

My increment value will usually be more than one, so I'll have to verify that the increment did result in crossing the floor, but that's easy enough.

Great idea from both of you, many thanks!

  • Comment on Re^3: Tracking minimum of values in an array over time

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://929872]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2017-06-28 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (624 votes). Check out past polls.