/[Apache-SVN]
ViewVC logotype

Revision 140828


Jump to revision: Previous Next
Author: tobrien
Date: Thu May 15 05:39:01 2003 UTC (21 years, 6 months ago)
Changed paths: 9
Log Message:
The following changes were made to the Univariate implementation.  The public
interface of Univariate was extracted in an interface of the same name.
Univariate, an interface, is now implemented by UnivariateImpl which contains
all code originally present in the original Univariate implementation.

* StoredUnivariate is an interface which extends Univariate and adds
measures not available in the superinterface such as mode, kurtosis, and skew

* StoredUnivariateImpl provides an implementation which uses the
ExpandableDoubleArray for internal storage.  Calculations are performed
on demand *each* time a particular measure is required no state is
maintained by this implementation.

* Univariate provided methods addValue(int), addValue(float), addValue(long).
There functions were removed as no cast is required - all of these
assignments are widening conversions - no cast required

* Removed the name property from Univariate - property not relevant to
univariate statistics


Changed paths

Path Details
Directoryjakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/StoreUnivariate.java added
Directoryjakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/StoreUnivariateImpl.java added
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 added
Directoryjakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/package.html added
Directoryjakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/MathTestSuite.java modified , text changed
Directoryjakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/StoreUnivariateImplTest.java added
Directoryjakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/UnivariateImplTest.java added
Directoryjakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/UnivariateTest.java deleted

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26