commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <>
Subject RE: [math][patch] Lets try this again, here's a new patch for Rolling
Date Wed, 14 May 2003 21:27:57 GMT

This is better than storing *all* of the values
(including out of window), but notice that the only
value that you actually use is
values[index].  That's all you really need to keep. 
This can be done with just one lagged value.

Also, remember that you need to worry about
maintaining integrity of min and max -- special care
needs to be taken for the cases where the "rolling
off" value is the (single instance of) min or max.


Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message