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

implementation of issue 360 #387

Closed Lu-Jichen closed 3 years ago

Lu-Jichen commented 3 years ago

Fixed #360 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

I have to reject this PR, see various comments.

lukaseder commented 3 years ago

OK, let's do it like this. I'll merge this, fix all the issues I've mentioned and then we can discuss the results. If you're still willing to have another go at https://github.com/jOOQ/jOOL/pull/386, we can do that based on the improvements if you're interested.