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

apache / commons-statistics / 162 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 14 Sep 2021 07:07PM UTC
Files 33
Run time 23s
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

14 Sep 2021 12:08PM UTC coverage: 100.0%. Remained the same
162.1

push

travis-ci-com

aherbert
Use a single instance of the standard normal distribution

The distribution is immutable. The underlying computations use static
methods and can be used across threads.

Note: A micro-optimisation to eliminate the mean=0 and SD=1 from the
computations used from NormalDistribution(0, 1) has not been performed
to aid maintenance. It is presumed that multiplication by 1 or addition
of 0 is insignificant compared to the calls to:

- Math.exp (density)
- Erf.value (cumulativeProbability)
- InverseErf.value (inverseCumulativeProbability)

Only the logDensity function would be expected to improve performance as
it would eliminate 1 subtraction and 1 devision to leave the computation
as 2 multiplications and a subtraction:

return -0.5 * x * x - halfLog2Pi

1169 of 1169 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 162.1
  • Tree
  • List 0
  • Changed 5
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 123
  • Travis Job 162.1
  • 81cbacd3 on github
  • Prev Job for on master (#161.1)
  • Next Job for on master (#163.1)
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