Skip to content

Commit f6afef0

Browse files
authored
Merge pull request #9 from promised-ai/cs-logsumexp
make logsumexp take an impl Iterator<item=f64>
2 parents 8fc9c8d + 061fb33 commit f6afef0

File tree

14 files changed

+253
-194
lines changed

14 files changed

+253
-194
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## [0.18.0] - 2024-06-24
4+
5+
### Added
6+
- Add log1pexp and logaddexp
7+
- Add LogSumExp trait with logsumexp method. This way we can make applying it a little more generic, similar to how sum works.
8+
- Propagate these functions across crate
9+
10+
### Removed
11+
- Removed logsumexp function taking a slice argument
12+
313
## [0.17.0] - 2024-06-24
414

515
### Added
@@ -205,6 +215,7 @@
205215
- Remove dependency on `quadrature` crate in favor of hand-rolled adaptive
206216
Simpson's rule, which handles multimodal distributions better.
207217

218+
[0.18.0]: https://github.com/promise-ai/rv/compare/v0.17.0...v0.18.0
208219
[0.17.0]: https://github.com/promise-ai/rv/compare/v0.16.5...v0.17.0
209220
[0.16.5]: https://github.com/promise-ai/rv/compare/v0.16.4...v0.16.5
210221
[0.16.4]: https://github.com/promise-ai/rv/compare/v0.16.3...v0.16.4

Cargo.lock

Lines changed: 79 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rv"
3-
version = "0.17.1"
3+
version = "0.18.0"
44
authors = ["Baxter Eaves", "Michael Schmidt", "Chad Scherrer"]
55
description = "Random variables"
66
repository = "https://github.com/promised-ai/rv"

proptest-regressions/misc/func.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Seeds for failure cases proptest has generated in the past. It is
2+
# automatically read and these particular cases re-run before any
3+
# novel cases are generated.
4+
#
5+
# It is recommended to check this file in to source control so that
6+
# everyone who runs the test benefits from these saved cases.
7+
cc b2c0853abfa53c6717adb519ac8b2871674f6977f57441e1f48d71c1c625c4f0 # shrinks to xs = []

0 commit comments

Comments
 (0)