Commit Graph

10 Commits

Author SHA1 Message Date
kortschak
54a5f6f081 all: fix build and make tests pass with new streams 2017-11-17 12:38:53 +10:30
kortschak
fa0c5aa7bc all: use golang.org/x/exp/rand instead of math/rand 2017-11-17 11:52:34 +10:30
kortschak
805531d142 all: change capitalization of gonum in license header 2017-11-02 06:54:08 +10:30
Brendan Tracey
637e7b76b9 stat/samplemv: give tests fixed random seeds (#290) 2017-10-27 00:27:34 -06:00
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
kortschak
6557c5dc64 all: simplify code identified by gosimple 2017-06-20 15:04:11 +09:30
kortschak
33b5a66ba7 mat: remove View* methods 2017-06-17 06:45:53 +09:30
Brendan Tracey
0d639745f1 all: update packages from mat64 to mat.
This mostly changes package name and code, but also fixes a couple of name clashes with the new package names
2017-06-13 10:28:21 -06:00
Brendan Tracey
d33397aa65 all: change import paths 2017-05-23 00:03:03 -06:00
Brendan Tracey
61c782d390 stat: imported stat as a subtree 2017-05-23 00:02:52 -06:00