Hello. Le mar. 26 sept. 2023 à 18:33, Alex Herbert <alex.d.herb...@gmail.com> a écrit : > > I have been looking at continuing the work on the descriptive module > to add the remaining stats found in Commons Math.
Thanks! > Before adding more > classes I would like to address the current implementation pattern. > > The statistics in the descriptive module are currently abstract > classes with a concrete inner class that is prefixed Storeless. > > This pattern would make sense if there was the intention to provide > stored implementations. There was some discussion about this IIRC.[1] > Currently I do not think this would be the > best solution. For example it would make sense to separate the storage > of a variable size stream of double values, from the computation of a > statistic. That is, a resizable backing array storage is out of scope > for this module. > > I propose to simplify the current implementations to final classes > that implement the current Storeless functionality. Any future change > to stored, immutable, or other implementations can be provided by > changing the final class back to abstract with different > implementations. +1 Regards, Gilles [1] https://issues.apache.org/jira/projects/STATISTICS/issues/STATISTICS-77 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org