> 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.

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to