commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz" <>
Subject Re: [math] Release planning, IOC-friendlyness
Date Sat, 01 Dec 2007 21:25:41 GMT
> I agree with the DescriptiveStatistics class (except the fact the
> serialVersionUID should be uptdated). I think DescriptiveStatisticsImpl
> should be deprecated (also the import for ResizableDoubleArray that
> remains in this stripped down class is not useful anymore).

Thanks, Luc.  I fixed these things and noticed a couple more problems.
 First, the lazy initialization setup would break thread safety of
SynchronizedDescriptiveStatistics, so I eliminated that.  Second, I
had neglected to modify getPercentile() to use the configured
implementation.  This creates a challenge, because evaluating a
percentile is really a two argument operation.  Percentile has a
setQuantile method that needs to be activated before evaluate (a sort
of smelly setup, but what we implemented in 1.0 and we have to live
with).  So implementations have to support this.  I am not in love
with the reflection-based approach that I took to get this to work and
am open to suggestions for how to handle this better.


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

View raw message