Commit Graph

4 Commits

Author SHA1 Message Date
bigflood
0b673ab98b stat/distuv: more accurate calculation of Normal.CDF and LogNormal.CDF (#580)
* A+C: add Taesu Pyo

* stat/distuv: more accurate calculation of Normal.CDF and Lognormal.CDF

Fixes #577
2018-09-01 23:27:15 +01:00
kortschak
805531d142 all: change capitalization of gonum in license header 2017-11-02 06:54:08 +10:30
Brendan Tracey
e5448cb39f stat/all: reduce random size and test tolerance to decrease testing t… (#181)
* stat/all: reduce random size and test tolerance to decrease testing time.

We were generating a lot of random numbers, which is slow. Decrease the size of those random numbers, and in some cases increase the tolerance to compensate. In a couple cases, pull out code from testFullDist to allow for more fine-grained testing. This decrases:
distmat from 4.5s to 0.5s
distmv from 24.8s to 9s
distuv from 65.2s to 13s
samplemv from 2.8s to 1.2s
sampleuv from 3.5s to 2.1s
2017-08-07 18:09:24 -06:00
Brendan Tracey
61c782d390 stat: imported stat as a subtree 2017-05-23 00:02:52 -06:00