Commit Graph

5 Commits

Author SHA1 Message Date
Dan Kortschak
4eed5b6553 all: replace publicly facing *rand.Rand with rand.Source 2018-05-03 07:40:18 +09:30
Brendan Tracey
12862f70a9 stat/all: Change all Source to Src (#355)
* stat/all: Change all Source to Src

Fixes original gonum/stat #147
2017-12-19 05:53:59 -07:00
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
Bill Gray
19ba1f6bf5 add triangle distribution and associated tests (#144)
* add triangle distribution and associated tests

* add efficiency, constraint checking, and code convention to triangle distribution

* change to follow Categorical structure exporting approach, add MarshalParameters function, and verify parameter constraints in UnmarshalParameters function

* change to export Triangle.Source and remove from NewTriangle signature, add checkTriangleParameters function, and fix bug

* fix comment, replace ln2 with math.Ln2, and add test for a=c

* fix to return float64 for integer division
2017-07-25 22:46:25 -06:00