commons-dev mailing list archives

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

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.

Phil


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message