/[Apache-SVN]
ViewVC logotype

Revision 140835


Jump to revision: Previous Next
Author: tobrien
Date: Fri May 16 05:23:29 2003 UTC (21 years, 6 months ago)
Changed paths: 6
Log Message:
The Univariate interface now contains getWindow and setWindow in
addition to a constant which signifies an "infinite" window.  Windowing
has been added to all three Univariate implementations:

* UnivariateImpl - If the window is not infinite, we keep track of
0..n elements and discount the contribution of the discarded element when
our "window" is moved.  If the window is infinite no extra storage is used
beyond an empty ContractableDoubleArray.

- In the following two implementations, the window size can be changed at anytime.

* ListStoreUnivariateImpl - If the window is not infinite, this
implementation only takes into account the last n elements of the List.

* StoreUnivariateImpl - Uses an internal ContractableDoubleArray, window size
can be changed at any time.


Changed paths

Path Details
Directoryjakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/DoubleArray.java modified , text changed
Directoryjakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/ExpandableDoubleArray.java modified , text changed
Directoryjakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/ListUnivariateImpl.java modified , text changed
Directoryjakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/StoreUnivariateImpl.java modified , text changed
Directoryjakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/Univariate.java modified , text changed
Directoryjakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/UnivariateImpl.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26