Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.5
-
None
-
None
Description
Hi there,
is there a specific reason FirstMoment is not public?
I want to calculate a mean over a List<Double>, for that I want to loop over that list and invoke Mean.increment(listValue), however this is slower than it could be. Every increment call makes a check to incMoment.
I could avoid that if I use a FirstMoment directly, but I cannot create an instance, because it is protected.
Also this effectively means that the public constructor Mean(FirstMoment) is not usable.
Attachments
Issue Links
- is depended upon by
-
MATH-1016 Making the first and second moments reducable. So should Storeless stats in general.
- Open