You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "kinow (via GitHub)" <gi...@apache.org> on 2023/07/07 22:37:46 UTC

[GitHub] [commons-statistics] kinow commented on a diff in pull request #46: [STATISTICS-71]: Add base interfaces for all statistic implementations.

kinow commented on code in PR #46:
URL: https://github.com/apache/commons-statistics/pull/46#discussion_r1256568342


##########
commons-statistics-descriptive/src/main/java/org/apache/commons/statistics/descriptive/Statistic.java:
##########
@@ -0,0 +1,28 @@
+package org.apache.commons.statistics.descriptive;
+
+/**
+ * Represents a statistic being computed.
+ */
+public enum Statistic {
+    MIN,
+
+    MAX,
+
+    SUM,
+
+    MEAN,
+
+    SUM_OF_LOGS,
+
+    SUM_OF_SQUARES,
+
+    VARIANCE,
+
+    POPULATION_VARIANCE,
+
+    STANDARD_DEVIATION,
+
+    GEOMETRIC_MEAN,
+
+    QUADRATIC_MEAN

Review Comment:
   I believe the statistic enum values can also be documented.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org