• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gonum / gonum / 5846 / 4
77%
master: 77%

Build:
DEFAULT BRANCH: master
Ran 18 Sep 2020 01:07PM UTC
Files 476
Run time 55s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Sep 2020 12:34PM UTC coverage: 77.121% (-0.001%) from 77.122%
TAGS="-tags safe"

push

travis-ci

web-flow
stat/distuv: improve Gamma.Rand performances for 0.2 <= alpha < 1

The paper cited in the comment for the a > 1 (now a >= smallAlphaThresh) case mentions this approach as a small note on the final page, so there is no need to update the comments.

I also looked into numpy's logic for this case, but a) couldn't determine a source for it, except for what appears to be a more complex variant (Algorithm GS), and b) it's slightly slower than this method, at least for a >= 0.2.

benchstat:

```
name              old time/op  new time/op  delta
GammaRand/case_0  89.4ns ± 5%  90.2ns ± 3%     ~     (p=0.084 n=20+20)
GammaRand/case_1   212ns ± 3%   101ns ± 5%  -52.28%  (p=0.000 n=20+20)
GammaRand/case_2  25.4ns ± 3%  25.3ns ± 4%     ~     (p=0.369 n=20+20)
GammaRand/case_3  48.6ns ± 6%  48.8ns ± 6%     ~     (p=0.702 n=20+20)
GammaRand/case_4  47.1ns ± 6%  47.6ns ± 3%     ~     (p=0.147 n=20+20)
```

57032 of 73951 relevant lines covered (77.12%)

0.89 hits per line

Source Files on job 5846.4 (TAGS="-tags safe")
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2946
  • Travis Job 5846.4
  • abbcebec on github
  • Prev Job for TAGS="-tags safe" on master (#5840.4)
  • Next Job for TAGS="-tags safe" on master (#5857.4)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc