jOOQ / jOOL

jOOλ - The Missing Parts in Java 8 jOOλ improves the JDK libraries in areas where the Expert Group's focus was elsewhere. It adds tuple support, function support, and a lot of additional functionality around sequential Streams. The JDK 8's main efforts (default methods, lambdas, and the Stream API) were focused around maintaining backwards compatibility and implementing a functional API for parallelism.
http://www.jooq.org/products
Apache License 2.0
2.09k stars 168 forks source link

variance and stddev #383

Closed Lu-Jichen closed 3 years ago

Lu-Jichen commented 3 years ago

Since the standard deviation and the variance have similar calculation process, there is an extracted method named "getVariance", which calculate the variance of the given data.

As for the test cases, there includes the empty Seq test, and the test with self defined class, and other basic test. All the tests have passed with no conflicts with other tests.

lukaseder commented 3 years ago

Duplicate of https://github.com/jOOQ/jOOL/pull/387