stripe / rainier

Bayesian inference in Scala.
https://rainier.fit
Apache License 2.0
433 stars 51 forks source link

Vec additions #453

Closed avibryant closed 4 years ago

avibryant commented 4 years ago

This adds ++ and dot operations to Vec[Real], and changes the Vec() constructor to be vararg.

codecov-io commented 4 years ago

Codecov Report

Merging #453 into 0.3-dev will decrease coverage by 0.1%. The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff             @@
##           0.3-dev     #453      +/-   ##
===========================================
- Coverage    51.29%   51.18%   -0.11%     
===========================================
  Files           72       72              
  Lines         2903     2911       +8     
  Branches       169      173       +4     
===========================================
+ Hits          1489     1490       +1     
- Misses        1414     1421       +7
Impacted Files Coverage Δ
...a/com/stripe/rainier/bench/stan/GLMMPoisson2.scala 0% <0%> (ø) :arrow_up:
...rc/main/scala/com/stripe/rainier/compute/Vec.scala 0% <0%> (ø) :arrow_up:
...ain/scala/com/stripe/rainier/core/Continuous.scala 75.9% <0%> (ø) :arrow_up:
...cala/com/stripe/rainier/compute/Coefficients.scala 90.47% <0%> (+1.58%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update deb88b1...f7f4cb7. Read the comment docs.