Commit Graph

7 Commits

Author SHA1 Message Date
Sebastian Kosch
bd528571af Working on code reorganization, doesn't compile yet 2020-06-25 23:38:14 -07:00
Sebastian Kosch
f6c1918b12 Big refactor towards proper distTree, still slow and untested 2020-06-12 23:30:51 -07:00
Ozzie Gooen
f247f65478 Minor cleanup of mean and variance 2020-04-19 21:04:50 +01:00
a89960a1e7 Formatting 2020-04-18 23:27:24 +02:00
2f45f92552 Added mean and variance functions, and tests for those.
- A getMean and getVariance in each module of src/distPlus/distribution/Distributions.re
    - They get the exact answer for the functions in Distributions.re, according to the approximation used.
    - There is now an XYShape.Analysis.integrateContinuousShape function.
- Tests in the __tests__/Distributions__Test.re function.
    - Calculation of the mean and variance for the normal and lognnormal distributions, at the end.
- I also added some reduce array functions to the E.A. module.
2020-04-18 23:20:59 +02:00
Ozzie Gooen
2e5f285a9e Allows for simple arrays representing samples 2020-04-11 14:22:13 +01:00
Ozzie Gooen
990f01b8d6 Reorganization of files 2020-04-05 07:36:14 +01:00